|
|
|
@ -315,7 +315,7 @@ else()
|
|
|
|
|
add_library(${STATIC_LIB} STATIC ${LIB_SRC})
|
|
|
|
|
if(COMPILER_SUPPORTS_CXX11 AND NOT COMPILER_SUPPORTS_CXX17 OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
|
|
|
|
add_library(backport-static STATIC ${CPP_BACKPORT_SRC})
|
|
|
|
|
endif(COMPILER_SUPPORTS_CXX11 AND NOT COMPILER_SUPPORTS_CXX17 ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
|
|
|
|
endif(COMPILER_SUPPORTS_CXX11 AND NOT COMPILER_SUPPORTS_CXX17 OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
|
|
|
|
add_library(llarpplatform-static STATIC ${LIB_PLATFORM_SRC})
|
|
|
|
|
target_link_libraries(llarpplatform-static ${THREAD_LIB})
|
|
|
|
|
if(COMPILER_SUPPORTS_CXX11 AND NOT COMPILER_SUPPORTS_CXX17 OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
|
|
|
@ -394,4 +394,4 @@ else()
|
|
|
|
|
target_link_libraries(dns ${SHARED_LIB} llarpplatform pthread)
|
|
|
|
|
endif(NOT WITH_STATIC)
|
|
|
|
|
endif(WITH_SHARED)
|
|
|
|
|
endif(SHADOW)
|
|
|
|
|
endif(SHADOW)
|
|
|
|
|