We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fmtd
1 parent 5403c40 commit f45801aCopy full SHA for f45801a
1 file changed
modules/core/CMakeLists.txt
@@ -29,7 +29,11 @@ target_link_directories(${exec_func_lib} PUBLIC "${CMAKE_BINARY_DIR}/ppc_libenvp
29
if(MSVC)
30
target_link_libraries(${exec_func_lib} PUBLIC fmt libenvpp)
31
else()
32
- target_link_libraries(${exec_func_lib} PUBLIC fmt envpp)
+ 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()
37
endif ()
38
39
add_dependencies(${exec_func_lib} ppc_json)
0 commit comments