From 53b5dd2e7b980e6bc40b87d6b57a45e55e99100f Mon Sep 17 00:00:00 2001 From: Paul Pan Date: Thu, 9 Mar 2023 09:53:38 +0800 Subject: [PATCH] Disable Useless Targets --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 285958c..6735a61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,8 @@ target_include_directories( target_link_libraries(sgnl INTERFACE Threads::Threads) target_compile_features(sgnl INTERFACE cxx_std_17) +#[[ + include(EnableWarnings) enable_warnings(sgnl INTERFACE) @@ -45,3 +47,4 @@ add_subdirectory("test" EXCLUDE_FROM_ALL) add_executable(example EXCLUDE_FROM_ALL "example/example.cpp") target_link_libraries(example sgnl::sgnl) +]]