diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-01-06 14:19:58 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-01-06 14:19:58 +0100 |
| commit | 66e986572d65e622e78190aa971313ed7e3c8b9b (patch) | |
| tree | d3bcdaf2eeb66da2d3898e037224c99c3ad426c1 /lib | |
| parent | d9ab9b52be6950f5429d9b9b4d3596599f53449d (diff) | |
| download | newtype-develop.tar.xz newtype-develop.zip | |
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index ec76c2e..3d3060e 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,5 +1,13 @@ add_library("newtype" INTERFACE) +target_sources("newtype" PUBLIC + FILE_SET HEADERS + FILES + "include/newtype/newtype.hpp" + BASE_DIRS + "${CMAKE_CURRENT_SOURCE_DIR}/include" +) + target_include_directories("newtype" INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" "$<INSTALL_INTERFACE:include>" |
