From 65e33aeaad7c0f63d221de00654521799e91820a Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 7 Jul 2024 18:55:09 +0200 Subject: [PATCH] adjusted src list --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4952af8..a311b8a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,6 +3,8 @@ file(GLOB HEADER_LIST CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/include/Vector/*" add_library(vector SHARED vector3.cpp ${HEADER_LIST}) add_library(vector::vector ALIAS vector) +set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${HEADER_LIST}") + target_include_directories(vector PUBLIC "${PROJECT_SOURCE_DIR}/include") set_target_properties(vector PROPERTIES PUBLIC_HEADER ${PROJECT_SOURCE_DIR}/include/Vector/vector3.h)