Skip to content
Snippets Groups Projects
Commit 1567db56 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

better test for config.h

parent 494ba746
No related branches found
No related tags found
No related merge requests found
...@@ -589,8 +589,7 @@ if(ENABLE_OCC) ...@@ -589,8 +589,7 @@ if(ENABLE_OCC)
elseif(MSVC) elseif(MSVC)
add_definitions(-DWNT) add_definitions(-DWNT)
endif(CYGWIN) endif(CYGWIN)
find_path(OCC_CONFIG_H "config.h" PATHS ENV CASROOT PATH_SUFFIXES inc find_path(OCC_CONFIG_H "config.h" PATHS ${OCC_INC} NO_DEFAULT_PATH)
include opencascade NO_DEFAULT_PATH)
if(NOT OCC_CONFIG_H) if(NOT OCC_CONFIG_H)
add_definitions(-DHAVE_NO_OCC_CONFIG_H) add_definitions(-DHAVE_NO_OCC_CONFIG_H)
endif(NOT OCC_CONFIG_H) endif(NOT OCC_CONFIG_H)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment