1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

missing branch on option

This commit is contained in:
Rick V 2020-02-25 21:08:02 -06:00
parent c8c9222b01
commit 3ca50b3619
No known key found for this signature in database
GPG key ID: C0EDC8723FDC3465

View file

@ -15,7 +15,7 @@ if(NOT MSVC_VERSION)
add_compile_options(-fno-ident -Wa,-mbig-obj)
link_libraries( -lws2_32 -lshlwapi -ldbghelp -luser32 -liphlpapi -lpsapi -luserenv )
add_definitions(-DWINVER=0x0500 -D_WIN32_WINNT=0x0500)
if (CMAKE_C_COMPILER_AR)
if (CMAKE_C_COMPILER_AR AND STATIC_LINK_RUNTIME)
add_compile_options(-flto)
set(CMAKE_AR ${CMAKE_C_COMPILER_AR})
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> qcs <TARGET> <LINK_FLAGS> <OBJECTS>")