Commit 39dbecd9 authored by Niklas Eiling's avatar Niklas Eiling
Browse files

cmake: Change BUILD_EXAMPLES to DPSIM_BUILD_EXAMPLES to avoid cimpp to overwrite this variable


Signed-off-by: Niklas Eiling's avatarNiklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
Signed-off-by: Niklas Eiling's avatarNiklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
parent 0a63cea6
......@@ -137,7 +137,7 @@ elseif("${CMAKE_SYSTEM}" MATCHES "Darwin")
endif()
option(BUILD_SHARED_LIBS "Build shared library" OFF)
option(BUILD_EXAMPLES "Build C++ examples" ON )
option(DPSIM_BUILD_EXAMPLES "Build C++ examples" ON )
option(GET_GRID_DATA "Download grid data" ON )
# WITH_SPARSE and WITH_CUDA can be combined
......@@ -204,9 +204,9 @@ add_subdirectory(models)
add_subdirectory(Source)
add_subdirectory(docs)
if(BUILD_EXAMPLES)
if(DPSIM_BUILD_EXAMPLES)
add_subdirectory(Examples)
endif(BUILD_EXAMPLES)
endif(DPSIM_BUILD_EXAMPLES)
if(WITH_PYBIND)
set(PYBIND11_CPP_STANDARD -std=c++11)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment