mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Propagate CMAKE_BUILD_TYPE to Netgen subproject
This commit is contained in:
parent
52517218c9
commit
1e2ec455ab
@ -29,7 +29,6 @@ if(WIN32)
|
|||||||
string(REGEX REPLACE "/W[0-4]" "/W0" CMAKE_EXE_LINKER_FLAGS_NEW ${CMAKE_EXE_LINKER_FLAGS})
|
string(REGEX REPLACE "/W[0-4]" "/W0" CMAKE_EXE_LINKER_FLAGS_NEW ${CMAKE_EXE_LINKER_FLAGS})
|
||||||
set(CMAKE_EXE_LINKER_FLAGS"${CMAKE_EXE_LINKER_FLAGS_NEW}/IGNORE:4217,4049" CACHE STRING "compile flags" FORCE)
|
set(CMAKE_EXE_LINKER_FLAGS"${CMAKE_EXE_LINKER_FLAGS_NEW}/IGNORE:4217,4049" CACHE STRING "compile flags" FORCE)
|
||||||
|
|
||||||
set_vars(NETGEN_CMAKE_ARGS CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE)
|
|
||||||
endif(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
endif(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
||||||
|
|
||||||
if(${CMAKE_SIZEOF_VOID_P} MATCHES 4)
|
if(${CMAKE_SIZEOF_VOID_P} MATCHES 4)
|
||||||
@ -121,6 +120,12 @@ endif(USE_GUI)
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
# propagate cmake variables to Netgen subproject
|
# propagate cmake variables to Netgen subproject
|
||||||
set_vars( NETGEN_CMAKE_ARGS
|
set_vars( NETGEN_CMAKE_ARGS
|
||||||
|
CMAKE_BUILD_TYPE
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_CXX_FLAGS
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE
|
||||||
|
|
||||||
USE_GUI
|
USE_GUI
|
||||||
USE_PYTHON
|
USE_PYTHON
|
||||||
USE_MPI
|
USE_MPI
|
||||||
|
Loading…
Reference in New Issue
Block a user