From 8f8671c8fb0e94ea127f3924238a174a01c06972 Mon Sep 17 00:00:00 2001 From: Robert Taylor Date: Thu, 22 Dec 2022 09:33:15 +0000 Subject: [PATCH] Only build cycop and x2y when in debug build --- crlcore/src/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crlcore/src/CMakeLists.txt b/crlcore/src/CMakeLists.txt index 5df690d4..4d831b94 100644 --- a/crlcore/src/CMakeLists.txt +++ b/crlcore/src/CMakeLists.txt @@ -1,5 +1,9 @@ add_subdirectory(ccore) add_subdirectory(LibraryManager) add_subdirectory(pyCRL) -add_subdirectory(cyclop) -add_subdirectory(x2y) + +if(CMAKE_BUILD_TYPE EQUAL "Release") + add_subdirectory(x2y) + add_subdirectory(cyclop) +endif() +