From ba60ab2cab3eae207bcd20dde2191c4ff61b9342 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 b2a77e7..8b5a2f2 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