diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b8d788..39ae6a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ if (MSVC) # do nothing else() # add hardening - target_compile_options(base16384 INTERFACE -Wl,-z,relro,-z,now -Wdate-time) + target_compile_options(base16384 PUBLIC -Wl,-z,now -Wdate-time) add_definitions(-D_FORTIFY_SOURCE=2) endif()