Make VLSISAPD more tolerant.
This commit is contained in:
parent
a5701a1e0f
commit
abceb5b34e
|
@ -53,11 +53,11 @@ IF(VLSISAPD_DIR_SEARCH)
|
||||||
FIND_LIBRARY(DTR_LIBRARY NAMES dtr PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
|
FIND_LIBRARY(DTR_LIBRARY NAMES dtr PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
|
||||||
SET_FOUND (DTR)
|
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)
|
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)
|
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)
|
ELSE(VLSISAPD_DIR_SEARCH)
|
||||||
MESSAGE("-- Cannot find VLSISAPD_LIBRARIES since VLSISAPD_DIR_SEARCH is not defined.")
|
MESSAGE("-- Cannot find VLSISAPD_LIBRARIES since VLSISAPD_DIR_SEARCH is not defined.")
|
||||||
ENDIF(VLSISAPD_DIR_SEARCH)
|
ENDIF(VLSISAPD_DIR_SEARCH)
|
||||||
|
|
Loading…
Reference in New Issue