This commit is contained in:
Las Safin 2021-08-26 16:14:25 +00:00
parent 68400d9437
commit 9aa450e8af
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
1 changed files with 1 additions and 25 deletions

View File

@ -5,10 +5,9 @@
# VLSISAPD_INCLUDE_DIR - the VLSISAPD include directory
# VLSISAPD_LIBRARIES - The libraries needed to use VLSISAPD
set(VLSISAPD_FOUND FALSE)
set(VLSISAPD_FOUND TRUE)
setup_search_dir(CORIOLIS)
if(CORIOLIS_DIR_SEARCH)
#MESSAGE("-- CORIOLIS_DIR_SEARCH: ${CORIOLIS_DIR_SEARCH}")
# Utilities
@ -58,27 +57,4 @@
FIND_LIBRARY(CONFIGURATION_LIBRARY NAMES configuration PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (CONFIGURATION)
MESSAGE("-- Configuration: ${CONFIGURATION_LIBRARY}")
IF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND OR SPICE_FOUND)
SET(VLSISAPD_FOUND TRUE)
ELSE(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND OR SPICE_FOUND)
SET(VLSISAPD_FOUND FALSE)
ENDIF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND OR SPICE_FOUND)
ELSE(CORIOLIS_DIR_SEARCH)
MESSAGE("-- Cannot find VLSISAPD_LIBRARIES since CORIOLIS_DIR_SEARCH is not defined.")
ENDIF(CORIOLIS_DIR_SEARCH)
IF (NOT VLSISAPD_FOUND)
SET(VLSISAPD_MESSAGE
"VLSISAPD libraries were not found. Make sure CORIOLIS_TOP env variable is set.")
IF (NOT VLSISAPD_FIND_QUIETLY)
MESSAGE(STATUS "${VLSISAPD_MESSAGE}")
ELSE(NOT VLSISAPD_FIND_QUIETLY)
IF(VLSISAPD_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "${VLSISAPD_MESSAGE}")
ENDIF(VLSISAPD_FIND_REQUIRED)
ENDIF(NOT VLSISAPD_FIND_QUIETLY)
ELSE (NOT VLSISAPD_FOUND)
MESSAGE(STATUS "VLSISAPD library was found in ${CORIOLIS_DIR_SEARCH}")
ENDIF (NOT VLSISAPD_FOUND)