FIX reversion in static linking introduced in e9affe5cdf47ccf8195b3bd24b19ffc6a4dd4641
This commit is contained in:
parent
5291e52878
commit
9e0c63a562
@ -37,7 +37,7 @@ if(BUILD_SHARED_LIBS) # todo test
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NANA_STATIC_STDLIB)
|
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++>)
|
PUBLIC $<$<OR:$<CXX_COMPILER_ID:GNU>, $<CXX_COMPILER_ID:Clang>>: -static-libgcc -static-libstdc++>)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user