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

add to config.h search path

parent 17e22f44
No related branches found
No related tags found
No related merge requests found
...@@ -616,7 +616,8 @@ if(ENABLE_OCC) ...@@ -616,7 +616,8 @@ 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 ${OCC_INC} NO_DEFAULT_PATH) find_path(OCC_CONFIG_H "config.h" PATHS ${OCC_INC} ${OCC_CONFIG_H_PATH}
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