summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarkus Mittendrein <maxmitti@maxmitti.tk>2022-01-06 19:19:34 +0100
committerMarkus Mittendrein <maxmitti@maxmitti.tk>2022-01-06 19:19:34 +0100
commit51424295ae9ea77486270d7eca5c64eb9ea0bd99 (patch)
tree6dcd18e17ca24d1539bffca803c630c6b376367d /CMakeLists.txt
parentbbd7c7a5d6bfb12df3898c4589753b59ce674576 (diff)
downloadcxxformat-51424295ae9ea77486270d7eca5c64eb9ea0bd99.tar.gz
cxxformat-51424295ae9ea77486270d7eca5c64eb9ea0bd99.zip
Move cxxformat include-directory into a separate include directory
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd2f310..dc51032 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,15 +5,15 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
project(cxxformat)
add_library(cxxformat INTERFACE
- cxxformat/cxxformat
- cxxformat/core.hpp
- cxxformat/file_ptr.hpp
- cxxformat/formatters.hpp
- cxxformat/helpers.hpp
- cxxformat/ostream.hpp
- cxxformat/string.hpp
+ include/cxxformat/cxxformat
+ include/cxxformat/core.hpp
+ include/cxxformat/file_ptr.hpp
+ include/cxxformat/formatters.hpp
+ include/cxxformat/helpers.hpp
+ include/cxxformat/ostream.hpp
+ include/cxxformat/string.hpp
)
-target_include_directories(cxxformat INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
+target_include_directories(cxxformat INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
add_executable(test EXCLUDE_FROM_ALL main.cpp)
target_link_libraries(test PRIVATE cxxformat)