This commit is contained in:
1 file changed
+5
@@ -88,6 +88,11 @@ if (STATICC)
|
|||||||
set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
|
set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
|
||||||
set(LINKS -static-libgcc -static-libstdc++ -Wl,-Bstatic -lm -lstdc++ -lpthread -Wl,-Bdynamic ${LINKS})
|
set(LINKS -static-libgcc -static-libstdc++ -Wl,-Bstatic -lm -lstdc++ -lpthread -Wl,-Bdynamic ${LINKS})
|
||||||
endif(STATICC)
|
endif(STATICC)
|
||||||
|
|
||||||
|
if (WINDOWS)
|
||||||
|
set(LINKS ${LINKS} -Wl,-Bstatic -lm -lstdc++ -lpthread -Wl,-Bdynamic)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(Arbutils ${LINKS})
|
target_link_libraries(Arbutils ${LINKS})
|
||||||
|
|
||||||
if (ARBUTILS_TESTS)
|
if (ARBUTILS_TESTS)
|
||||||
|
|||||||
Reference in new issue
Block a user