Skip to content
Snippets Groups Projects
Verified Commit e5f9d5c6 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Fix ProcessesSetup.cmake.

parent 98767f1d
No related branches found
No related tags found
No related merge requests found
......@@ -45,11 +45,11 @@ endif()
if(NOT "${OGS_BUILD_PROCESSES}" STREQUAL "")
if(${OGS_BUILD_PROCESSES})
foreach(process ${OGS_BUILD_PROCESSES})
if(NOT "${process}" IN_LIST processes_list)
if(NOT "${process}" IN_LIST _processes_list)
message(
FATAL_ERROR
"${process} given in OGS_BUILD_PROCESSES is "
"not a valid process name! Valid names are ${processes_list}"
"not a valid process name! Valid names are ${_processes_list}"
)
endif()
endforeach()
......@@ -57,7 +57,7 @@ if(NOT "${OGS_BUILD_PROCESSES}" STREQUAL "")
else()
message(STATUS "All processes disabled.")
endif()
foreach(process ${processes_list})
foreach(process ${_processes_list})
if("${process}" IN_LIST OGS_BUILD_PROCESSES)
set(OGS_BUILD_PROCESS_${process} ON CACHE BOOL "" FORCE)
message(STATUS " ${process}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment