From b58207ebf6a7fc376c0846511e5695025cf6c408 Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 7 Jul 2024 17:47:34 +0200 Subject: [PATCH] adjusted src list --- src/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b70a2f6..3385033 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,8 +1,10 @@ -file(GLOB HEADER_LIST CONFIGURE_DEPENDS "${ModernCMakeExample_SOURCE_DIR}/include/Vector/*.hpp") +file(GLOB HEADER_LIST CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/include/Vector/*") add_library(vector vector3.cpp ${HEADER_LIST}) -target_include_directories(vector PUBLIC "../include") +target_include_directories(vector PUBLIC "${PROJECT_SOURCE_DIR}/include") + +target_include_directories(vector PUBLIC "${PROJECT_SOURCE_DIR}/include") source_group( TREE "${PROJECT_SOURCE_DIR}/include"