This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/cmake/cudd.cmake

25 lines
542 B
CMake
Raw Normal View History

2016-07-31 16:29:36 +01:00
2016-08-23 17:15:07 +01:00
option (WITH_CUDD "BDD CUDD package" ON)
2016-07-31 16:29:36 +01:00
if (WITH_CUDD)
2016-04-14 23:24:20 +01:00
#detect cudd setup, as it is shared between different installations.
find_package(CUDD)
2016-07-31 16:29:36 +01:00
# CUDD_FOUND - system has CUDD
2016-04-14 23:24:20 +01:00
# CUDD_LIBRARIES - Link these to use CUDD
# CUDD_INCLUDE_DIR - Include directory for using CUDD
#
2016-08-23 17:15:07 +01:00
macro_log_feature (CUDD_FOUND "CUDD"
"Use CUDD BDD library"
"http://vlsi.colorado.edu/~fabio/CUDD/" FALSE)
2016-07-31 16:29:36 +01:00
if (CUDD_FOUND)
2016-08-23 17:15:07 +01:00
2016-07-31 16:29:36 +01:00
set( CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${CUDD_INCLUDE_DIR} )
2016-04-14 23:24:20 +01:00
2016-07-31 16:29:36 +01:00
endif (CUDD_FOUND)
2016-04-14 23:24:20 +01:00
2016-07-31 16:29:36 +01:00
endif(WITH_CUDD)