ensure that config.h of Netgen build dir is used

This commit is contained in:
Matthias Hochsteger 2016-11-17 09:54:32 +01:00
parent d98579fe6b
commit bba3b7ea41

View File

@ -105,6 +105,7 @@ include (CheckIncludeFiles)
check_include_files (dlfcn.h HAVE_DLFCN_H) check_include_files (dlfcn.h HAVE_DLFCN_H)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
add_definitions(-DHAVE_CONFIG_H) add_definitions(-DHAVE_CONFIG_H)
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
####################################################################### #######################################################################
# platform specific definitions and flags # platform specific definitions and flags