Skip to content

Commit 5897ae9

Browse files
committed
need to figure out how to do this on osx
1 parent 9e4df34 commit 5897ae9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@ add_executable(
4646
if(UNIX)
4747
find_package(Threads)
4848
target_link_libraries(${RP_PLAT} ${CMAKE_THREAD_LIBS_INIT})
49-
target_link_libraries(${RP_PLAT} ${CMAKE_THREAD_LIBS_INIT} -static)
49+
if(RP_PLAT STREQUAL "osx")
50+
else()
51+
target_link_libraries(${RP_PLAT} -static)
52+
endif()
5053
endif()

0 commit comments

Comments
 (0)