Skip to content

Commit

Permalink
+ fixes #1872: HAVE_CONFIG_H regression
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 22, 2014
1 parent a5bbabd commit 5478c0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cMake/FindOpenCasCade.cmake
Expand Up @@ -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
Expand Down

0 comments on commit 5478c0f

Please sign in to comment.