Browse Source

Added missing definitions required for CUDD to compile under 64bit architectures.

Former-commit-id: 4e40ea7ee3
tempestpy_adaptions
PBerger 11 years ago
parent
commit
f2383ccfb5
  1. 9
      resources/3rdparty/cudd-2.5.0/CMakeLists.txt

9
resources/3rdparty/cudd-2.5.0/CMakeLists.txt

@ -25,5 +25,14 @@ if(MSVC)
add_definitions(/D_SCL_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS) add_definitions(/D_SCL_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS)
endif() endif()
# Since we do not target Alphas, this symbol is always set
add_definitions(-DHAVE_IEEE_754)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
message(STATUS "CUDD: Targeting 64bit architecture")
add_definitions(-DSIZEOF_VOID_P=8)
add_definitions(-DSIZEOF_LONG=8)
endif()
# Add the library # Add the library
add_library(cudd ${CUDD_SOURCES} ${CUDD_HEADERS} ${CUDD_HEADERS_CXX} ${CUDD_SOURCES_CXX}) add_library(cudd ${CUDD_SOURCES} ${CUDD_HEADERS} ${CUDD_HEADERS_CXX} ${CUDD_SOURCES_CXX})
Loading…
Cancel
Save