+ fixes #0001872: HAVE_CONFIG_H regression

This commit is contained in:
wmayer 2014-12-22 10:24:26 +01:00
parent a5bbabdc3e
commit 5478c0fdfe

View File

@ -19,7 +19,8 @@ endif()
find_package(OCE QUIET)
if(OCE_FOUND)
message(STATUS "-- OpenCASCADE Community Edition has been found.")
add_definitions (-DHAVE_CONFIG_H)
# Disable this define. For more details see bug #0001872
#add_definitions (-DHAVE_CONFIG_H)
set(OCC_INCLUDE_DIR ${OCE_INCLUDE_DIRS})
#set(OCC_LIBRARY_DIR ${OCE_LIBRARY_DIR})
else(OCE_FOUND) #look for OpenCASCADE