From abceb5b34eea89bd92e25ca011afa3542edf4e62 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 25 May 2010 20:38:46 +0000 Subject: [PATCH] Make VLSISAPD more tolerant. --- vlsisapd/cmake_modules/FindVLSISAPD.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlsisapd/cmake_modules/FindVLSISAPD.cmake b/vlsisapd/cmake_modules/FindVLSISAPD.cmake index 18d99fda..b4dfd60a 100644 --- a/vlsisapd/cmake_modules/FindVLSISAPD.cmake +++ b/vlsisapd/cmake_modules/FindVLSISAPD.cmake @@ -53,11 +53,11 @@ IF(VLSISAPD_DIR_SEARCH) FIND_LIBRARY(DTR_LIBRARY NAMES dtr PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX}) SET_FOUND (DTR) - IF(AGDS_FOUND AND CIF_FOUND AND OPENCHAMS_FOUND AND DTR_FOUND) + IF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND) SET(VLSISAPD_FOUND TRUE) - ELSE(AGDS_FOUND AND CIF_FOUND AND OPENCHAMS_FOUND AND DTR_FOUND) + ELSE(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND) SET(VLSISAPD_FOUND FALSE) - ENDIF(AGDS_FOUND AND CIF_FOUND AND OPENCHAMS_FOUND AND DTR_FOUND) + ENDIF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND) ELSE(VLSISAPD_DIR_SEARCH) MESSAGE("-- Cannot find VLSISAPD_LIBRARIES since VLSISAPD_DIR_SEARCH is not defined.") ENDIF(VLSISAPD_DIR_SEARCH)