summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2020-04-20 19:02:02 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2020-04-20 19:02:02 +0200
commit1476ebc481a01949b6324a1eee65fb302444c83f (patch)
tree8638f95e575ef8d7898a09ce3acc4c016b69ebdc
parentf0a2d928e9d9c7951997bc984005e44e59ca59fb (diff)
downloadcc4group-1476ebc481a01949b6324a1eee65fb302444c83f.tar.gz
cc4group-1476ebc481a01949b6324a1eee65fb302444c83f.zip
Don't build c4ls_asChildPp example on windows
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f63a984..0ae275e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,7 +82,6 @@ example(c4touch)
example(c4rm)
example(c4mkdir)
-examplepp(c4ls_asChildPp)
examplepp(cppc4group_memorymanagement)
add_executable(c4cat examples/c4cat.c)
@@ -96,4 +95,6 @@ target_compile_definitions(c4ls_buffer PRIVATE CC4GROUP_PLATFORM_${CC4GROUP_PLAT
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
add_executable(c4cat_dyn examples/c4cat_dyn.c)
target_link_libraries(c4cat_dyn PRIVATE -ldl)
+
+ examplepp(c4ls_asChildPp)
endif()