From 659635588c9ccebcd8d70155a6243c389e5ecefb Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 25 May 2010 16:01:16 +0000 Subject: [PATCH] * ./vlsisapd: - Change: Conditional compilation of DTR & OpenChams. They are compiled only if their directory is present (see buildCoriolis.doRpm()). --- vlsisapd/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vlsisapd/CMakeLists.txt b/vlsisapd/CMakeLists.txt index 82ae0166..e8733bc6 100644 --- a/vlsisapd/CMakeLists.txt +++ b/vlsisapd/CMakeLists.txt @@ -9,6 +9,10 @@ FIND_PACKAGE(PythonSitePackages REQUIRED) ADD_SUBDIRECTORY(agds) ADD_SUBDIRECTORY(cif) -ADD_SUBDIRECTORY(openChams) -ADD_SUBDIRECTORY(dtr) +IF(IS_DIRECTORY openChams) + ADD_SUBDIRECTORY(openChams) +ENDIF(IS_DIRECTORY openChams) +IF(IS_DIRECTORY dtr) + ADD_SUBDIRECTORY(dtr) +ENDIF(IS_DIRECTORY dtr) ADD_SUBDIRECTORY(cmake_modules)