Commit 0424cac9 authored by Martin Heistermann's avatar Martin Heistermann
Browse files

Do not build examples if we are a subproject. Existing logic was broken.

parent c10984b0
Pipeline #15757 passed with stages
in 4 minutes and 44 seconds
......@@ -494,7 +494,7 @@ configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/Config/config.hh.in"
# of the library are already there
#######################################################################
if(${PROJECT_NAME} MATCHES "CoMISo")
if(${CMAKE_PROJECT_NAME} MATCHES "CoMISo")
set (COMISO_BUILD_EXAMPLES TRUE CACHE BOOL "Build CoMISo Examples")
else()
set (COMISO_BUILD_EXAMPLES FALSE CACHE BOOL "Build CoMISo Examples")
......
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