File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,16 +26,19 @@ set_target_properties(${exec_func_lib} PROPERTIES LINKER_LANGUAGE CXX)
2626add_dependencies (${exec_func_lib} ppc_libenvpp )
2727target_link_directories (${exec_func_lib} PUBLIC "${CMAKE_BINARY_DIR} /ppc_libenvpp/install/lib" )
2828target_link_directories (${exec_func_lib} PUBLIC "${CMAKE_BINARY_DIR} /ppc_libenvpp/build" )
29+
2930if (MSVC )
30- target_link_libraries (${exec_func_lib} PUBLIC fmt libenvpp )
31+ target_link_libraries (${exec_func_lib} PUBLIC libenvpp )
3132else ()
32- if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
33- target_link_libraries (${exec_func_lib} PUBLIC fmtd envpp )
34- else ()
35- target_link_libraries (${exec_func_lib} PUBLIC fmt envpp )
36- endif ()
33+ target_link_libraries (${exec_func_lib} PUBLIC envpp )
3734endif ()
3835
36+ if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
37+ target_link_libraries (${exec_func_lib} PUBLIC fmtd )
38+ else ()
39+ target_link_libraries (${exec_func_lib} PUBLIC fmt )
40+ endif ()
41+
3942add_dependencies (${exec_func_lib} ppc_json )
4043target_link_directories (${exec_func_lib} INTERFACE "${CMAKE_BINARY_DIR} /ppc_json/install/include" )
4144
You can’t perform that action at this time.
0 commit comments