Adding SPICE_FOUND construction
This commit is contained in:
parent
98b82520a3
commit
b36a0c5a62
|
@ -59,6 +59,12 @@ IF(VLSISAPD_DIR_SEARCH)
|
||||||
SET_FOUND (DTR)
|
SET_FOUND (DTR)
|
||||||
MESSAGE("-- DTR: ${DTR_LIBRARY}")
|
MESSAGE("-- DTR: ${DTR_LIBRARY}")
|
||||||
|
|
||||||
|
# SPICE
|
||||||
|
FIND_PATH (SPICE_INCLUDE_DIR NAMES vlsisapd/spice/Circuit.h PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES include)
|
||||||
|
FIND_LIBRARY(SPICE_LIBRARY NAMES spice PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
|
||||||
|
SET_FOUND (SPICE)
|
||||||
|
MESSAGE("-- SPICE: ${SPICE_LIBRARY}")
|
||||||
|
|
||||||
# Bookshelf
|
# Bookshelf
|
||||||
FIND_PATH (BOOKSHELF_INCLUDE_DIR NAMES vlsisapd/bookshelf/Circuit.h PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES include)
|
FIND_PATH (BOOKSHELF_INCLUDE_DIR NAMES vlsisapd/bookshelf/Circuit.h PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES include)
|
||||||
FIND_LIBRARY(BOOKSHELF_LIBRARY NAMES bookshelf PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
|
FIND_LIBRARY(BOOKSHELF_LIBRARY NAMES bookshelf PATHS ${VLSISAPD_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
|
||||||
|
@ -71,11 +77,11 @@ IF(VLSISAPD_DIR_SEARCH)
|
||||||
SET_FOUND (CONFIGURATION)
|
SET_FOUND (CONFIGURATION)
|
||||||
MESSAGE("-- Configuration: ${CONFIGURATION_LIBRARY}")
|
MESSAGE("-- Configuration: ${CONFIGURATION_LIBRARY}")
|
||||||
|
|
||||||
IF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND)
|
IF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND OR SPICE_FOUND)
|
||||||
SET(VLSISAPD_FOUND TRUE)
|
SET(VLSISAPD_FOUND TRUE)
|
||||||
ELSE(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND)
|
ELSE(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND OR SPICE_FOUND)
|
||||||
SET(VLSISAPD_FOUND FALSE)
|
SET(VLSISAPD_FOUND FALSE)
|
||||||
ENDIF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND)
|
ENDIF(AGDS_FOUND OR CIF_FOUND OR OPENCHAMS_FOUND OR DTR_FOUND OR SPICE_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