From 481c4830b59a99a394f19958c2b35c74dbf946a9 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Tue, 28 May 2024 15:15:37 +0200 Subject: [PATCH] only trying to link darmaris when requested --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aec60388a..9179a4d19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -793,7 +793,7 @@ if(USE_BDA_BRIDGE) endif() endif() -if(Damaris_FOUND) +if(USE_DAMARIS_LIB AND Damaris_FOUND) target_link_libraries(opmsimulators PUBLIC damaris) endif()