We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4df34 commit 5897ae9Copy full SHA for 5897ae9
src/CMakeLists.txt
@@ -46,5 +46,8 @@ add_executable(
46
if(UNIX)
47
find_package(Threads)
48
target_link_libraries(${RP_PLAT} ${CMAKE_THREAD_LIBS_INIT})
49
- target_link_libraries(${RP_PLAT} ${CMAKE_THREAD_LIBS_INIT} -static)
+ if(RP_PLAT STREQUAL "osx")
50
+ else()
51
+ target_link_libraries(${RP_PLAT} -static)
52
+ endif()
53
endif()
0 commit comments