From 2c6a93034123d5e4d519f41274c612c4a31cb2ba Mon Sep 17 00:00:00 2001 From: Adrien Martin Date: Thu, 14 Jun 2018 13:29:13 +0200 Subject: [PATCH] Compile options should be private --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e407979..e1413ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ target_compile_features(json-schema-validator # Enable more compiler warnings, except when using Visual Studio compiler if(NOT MSVC) target_compile_options(json-schema-validator - PUBLIC + PRIVATE -Wall -Wextra) endif() target_link_libraries(json-schema-validator