diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2ed9428..4952af8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,7 @@ file(GLOB HEADER_LIST CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/include/Vector/*") -add_library(vector vector3.cpp ${HEADER_LIST}) +add_library(vector SHARED vector3.cpp ${HEADER_LIST}) +add_library(vector::vector ALIAS vector) target_include_directories(vector PUBLIC "${PROJECT_SOURCE_DIR}/include")