diff options
| -rw-r--r-- | source/lib/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | test_package/main.cpp | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/source/lib/CMakeLists.txt b/source/lib/CMakeLists.txt index a1ed36e..d573510 100644 --- a/source/lib/CMakeLists.txt +++ b/source/lib/CMakeLists.txt @@ -9,12 +9,7 @@ target_compile_features("${PROJECT_NAME}" INTERFACE "cxx_std_20" ) -install(TARGETS "${PROJECT_NAME}" - EXPORT "${PROJECT_NAME}Targets" - PUBLIC_HEADER DESTINATION "include" -) - -install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/" +install(DIRECTORY "include/" DESTINATION "include" ) diff --git a/test_package/main.cpp b/test_package/main.cpp index d2efe04..f0c2bea 100644 --- a/test_package/main.cpp +++ b/test_package/main.cpp @@ -1,4 +1,4 @@ -#include "newtype/newtype.hpp" +#include <newtype/newtype.hpp> #include <iostream> |
