diff options
Diffstat (limited to 'cstring/CMakeLists.txt')
-rw-r--r-- | cstring/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cstring/CMakeLists.txt b/cstring/CMakeLists.txt index df2fa45..bc385c3 100644 --- a/cstring/CMakeLists.txt +++ b/cstring/CMakeLists.txt | |||
@@ -2,11 +2,12 @@ cmake_minimum_required(VERSION 3.0) | |||
2 | 2 | ||
3 | project(cstring) | 3 | project(cstring) |
4 | 4 | ||
5 | add_library(cstring INTERFACE) | 5 | add_library(cstring |
6 | src/cstring.c) | ||
6 | 7 | ||
7 | target_include_directories(cstring INTERFACE | 8 | target_include_directories(cstring PUBLIC |
8 | include) | 9 | include) |
9 | 10 | ||
10 | target_link_libraries(cstring INTERFACE | 11 | target_link_libraries(cstring PUBLIC |
11 | cassert | 12 | cassert |
12 | -lbsd) | 13 | -lbsd) |