From 1fd4ab290fcd11ad78f63e9070dd9cfcc8ec6ff3 Mon Sep 17 00:00:00 2001 From: Erik Boasson Date: Wed, 8 Apr 2020 22:12:34 +0200 Subject: [PATCH] Do not build security tests if BUILD_IDLC=NO Signed-off-by: Erik Boasson --- src/security/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/core/CMakeLists.txt b/src/security/core/CMakeLists.txt index 19f4823..7765227 100644 --- a/src/security/core/CMakeLists.txt +++ b/src/security/core/CMakeLists.txt @@ -45,7 +45,7 @@ target_include_directories(security_core "$>" ) -if(BUILD_TESTING) +if(BUILD_TESTING AND BUILD_IDLC) add_subdirectory(tests) endif()