mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 04:48:23 +01:00
Remove unused CMakeLists.txt file for SurrogateModels
This commit is contained in:
parent
f7323c05c3
commit
2bfee6c99f
@ -1,21 +0,0 @@
|
||||
file(GLOB surrogate_models_SRC
|
||||
CONFIGURE_DEPENDS
|
||||
"*.cpp" "*.c")
|
||||
|
||||
find_library(MATH_LIBRARY m)
|
||||
|
||||
add_library(surrogate_models ${surrogate_models_SRC})
|
||||
target_include_directories(surrogate_models PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
||||
target_link_libraries(surrogate_models PUBLIC
|
||||
MPI::MPI_CXX ${MATH_LIBRARY})
|
||||
target_compile_definitions(surrogate_models PUBLIC OMPI_SKIP_MPICXX)
|
||||
|
||||
option(POET_PHT_ADDITIONAL_INFO "Enables additional information in the PHT" OFF)
|
||||
|
||||
if (POET_PHT_ADDITIONAL_INFO)
|
||||
target_compile_definitions(surrogate_models PRIVATE POET_PHT_ADD)
|
||||
endif()
|
||||
|
||||
if(POET_DHT_DEBUG)
|
||||
target_compile_definitions(surrogate_models PRIVATE DHT_STATISTICS)
|
||||
endif()
|
||||
Loading…
x
Reference in New Issue
Block a user