summaryrefslogtreecommitdiff
path: root/libmisc/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-11 10:22:26 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-11 10:22:26 -0700
commitced8ab50af1429d9ba7651da1b3b78014fd76e79 (patch)
tree4f0975a2594c4bfa97ebaa6b263e712858d2e8a4 /libmisc/CMakeLists.txt
parentd84daf84d2ced072782ef3c61e5088b06d950939 (diff)
libmisc: Write my own assert.hHEADmain
Diffstat (limited to 'libmisc/CMakeLists.txt')
-rw-r--r--libmisc/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmisc/CMakeLists.txt b/libmisc/CMakeLists.txt
index 0c5c019..1f30906 100644
--- a/libmisc/CMakeLists.txt
+++ b/libmisc/CMakeLists.txt
@@ -5,4 +5,7 @@
add_library(libmisc INTERFACE)
target_include_directories(libmisc SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
+target_sources(libmisc INTERFACE
+ assert.c
+)
target_compile_options(libmisc INTERFACE "$<$<COMPILE_LANGUAGE:C>:-fplan9-extensions>")