Skip to content

Commit

Permalink
This makes ada's target compile options private under Windows. (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Feb 16, 2024
1 parent 91ed5c3 commit 9a39523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if(MSVC)
target_compile_options(ada INTERFACE /W0 /sdl)
set(ADA_LEGACY_VISUAL_STUDIO TRUE)
else()
target_compile_options(ada INTERFACE /WX /W3 /sdl /w34714) # https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4714?view=vs-2019
target_compile_options(ada PRIVATE /WX /W3 /sdl /w34714) # https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4714?view=vs-2019
endif()
else(MSVC)
if(NOT WIN32)
Expand Down

0 comments on commit 9a39523

Please sign in to comment.