mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
ensure that config.h of Netgen build dir is used
This commit is contained in:
parent
d98579fe6b
commit
bba3b7ea41
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user