diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index 69914d9e..8c61721e 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -64,7 +64,7 @@ ADD_LIBRARY(check_deps OBJECT EXCLUDE_FROM_ALL ${CHK_MQTT}) # We don't need to actually run the whole compiler. We're just checking that all the includes are valid # So here we ask for only the syntax checking mode to be used. # We also don't mind that there might be unused constant variables when doing deps checking. -TARGET_COMPILE_OPTIONS(check_deps PUBLIC -Wno-unneeded-internal-declaration Wno-unused-const-variable $,/Zs,-fsyntax-only>) +TARGET_COMPILE_OPTIONS(check_deps PUBLIC -Wno-unneeded-internal-declaration -Wno-unused-const-variable $,/Zs,-fsyntax-only>) TARGET_LINK_LIBRARIES (check_deps PUBLIC ${PROJECT_NAME})