From 03da3652abcac2c8ed755d6cfc75d08d47dc2ce2 Mon Sep 17 00:00:00 2001 From: Kelbon Nik Date: Thu, 10 Oct 2024 22:53:22 +0400 Subject: [PATCH] fix-cmake --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d58be4..09d822e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,7 @@ option(KELCORO_ENABLE_TESTING "enables testing" OFF) ### kelcorolib library ### -file(GLOB KELCORO_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/include/*.hpp" CMAKE_CONFIGURE_DEPENDS) -add_library(kelcorolib INTERFACE ${KELCORO_HEADERS}) +add_library(kelcorolib INTERFACE) set_target_properties(kelcorolib PROPERTIES CMAKE_CXX_EXTENSIONS OFF @@ -22,10 +21,3 @@ if(KELCORO_ENABLE_TESTING) include(CTest) add_subdirectory(tests) endif() - -### VISUAL ### - -source_group(Include FILES ${modules}) - - -