paths vs cuutil

This commit is contained in:
Vitor Santos Costa 2016-06-05 00:01:23 +01:00
parent 42347585d3
commit ba78620e34

View File

@ -44,6 +44,12 @@ endif()
if (${CUDD_ROOT}) if (${CUDD_ROOT})
set (CUDD_LIB_SEARCH_PATH set (CUDD_LIB_SEARCH_PATH
$ENV{CUDD_ROOT}/lib
$ENV{CUDD_ROOT}/lib64
$ENV{CUDD_ROOT}/lib-dbg
$ENV{CUDD_ROOT}
${CUDD_ROOT}/cudd
/usr/lib
${CUDD_ROOT}/lib ${CUDD_ROOT}/lib
${CUDD_ROOT}/lib64 ${CUDD_ROOT}/lib64
${CUDD_ROOT}/lib-dbg ${CUDD_ROOT}/lib-dbg
@ -52,11 +58,13 @@ if (${CUDD_ROOT})
) )
endif() endif()
mark_as_advanced(CUDD_LIB_SEarcH_PATH on) mark_as_advanced(CUDD_LIB_SEARCH_PATH on)
set (CUDD_LIB_SEARCH_PATH set (CUDD_LIB_SEARCH_PATH
${CUDD_LIB_SEARCH_PATH} ${CUDD_LIB_SEARCH_PATH}
/usr/lib64
/usr/lib
/usr/local/lib/cudd /usr/local/lib/cudd
/usr/local/cudd/lib /usr/local/cudd/lib
/usr/lib/cudd /usr/lib/cudd
@ -92,7 +100,7 @@ find_library(CUDD_EPD_LIBRARY
find_library(CUDD_UTIL_LIBRARY find_library(CUDD_UTIL_LIBRARY
NAMES util NAMES cuddutil util
PATHS PATHS
${CUDD_LIB_SEARCH_PATH} ${CUDD_LIB_SEARCH_PATH}
@ -101,12 +109,6 @@ find_library(CUDD_EPD_LIBRARY
NO_CMAKE_SYSTEM_PATH NO_CMAKE_SYSTEM_PATH
) )
find_library(CUDD_UTIL_LIBRARY
NAMES cuddutil
PATHS
${CUDD_LIB_SEARCH_PATH}
)
find_library(CUDD_MTR_LIBRARY find_library(CUDD_MTR_LIBRARY
NAMES mtr NAMES mtr
PATHS PATHS