From 79324117c0090d370b9329f9198a83fcc0b8bf4e Mon Sep 17 00:00:00 2001 From: Sebastian Brommer Date: Wed, 10 Apr 2024 14:21:55 +0200 Subject: [PATCH] fix crownlib only build --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b524ee5..6bd2fcb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,10 @@ endif() set(GENERATE_CPP_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) # crownlib setup -include(ConfigureCrownlib) +if (BUILD_CROWNLIB_ONLY) + # exit if only crownlib is being built + return() +endif() # run the code generation include(CodeGeneration)