FIX reversion in static linking introduced in e9affe5cdf47ccf8195b3bd24b19ffc6a4dd4641

This commit is contained in:
qPCR4vir 2019-08-06 18:10:45 +02:00
parent 5291e52878
commit 9e0c63a562

View File

@ -37,7 +37,7 @@ if(BUILD_SHARED_LIBS) # todo test
endif()
if(NANA_STATIC_STDLIB)
target_compile_options(nana
target_link_libraries(nana
PUBLIC $<$<OR:$<CXX_COMPILER_ID:GNU>, $<CXX_COMPILER_ID:Clang>>: -static-libgcc -static-libstdc++>)
endif()