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)