Compare commits
1 Commits
b20daa1ac2
...
b20fd3eba5
Author | SHA1 | Date | |
---|---|---|---|
b20fd3eba5 |
@ -79,7 +79,7 @@ if(TARGET jsoncpp::jsoncpp)
|
|||||||
else()
|
else()
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC jsoncpp)
|
target_link_libraries(${PROJECT_NAME} PUBLIC jsoncpp)
|
||||||
endif()
|
endif()
|
||||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND BUILD_SHARED_LIBS)
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC -Wl,--whole-archive dbt-rise-core -Wl,--no-whole-archive)
|
target_link_libraries(${PROJECT_NAME} PUBLIC -Wl,--whole-archive dbt-rise-core -Wl,--no-whole-archive)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-core)
|
target_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-core)
|
||||||
|
Reference in New Issue
Block a user