Skip to content

Commit 9a39523

Browse files
authored
This makes ada's target compile options private under Windows. (#599)
1 parent 91ed5c3 commit 9a39523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(MSVC)
1616
target_compile_options(ada INTERFACE /W0 /sdl)
1717
set(ADA_LEGACY_VISUAL_STUDIO TRUE)
1818
else()
19-
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
19+
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
2020
endif()
2121
else(MSVC)
2222
if(NOT WIN32)

0 commit comments

Comments
 (0)