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

[CMake] Reset variable OGS_CONAN_BUILD to missing after use.

parent 86e4d488
No related branches found
No related tags found
No related merge requests found
...@@ -102,3 +102,8 @@ conan_cmake_run(REQUIRES ${CONAN_REQUIRES} ...@@ -102,3 +102,8 @@ conan_cmake_run(REQUIRES ${CONAN_REQUIRES}
UPDATE UPDATE
BUILD ${OGS_CONAN_BUILD} BUILD ${OGS_CONAN_BUILD}
) )
if(NOT ${OGS_CONAN_BUILD} MATCHES "never|always|missing")
message(STATUS "Warning: Resetting CMake variable OGS_CONAN_BUILD to its default value of 'missing'")
set(OGS_CONAN_BUILD "missing" CACHE INTERNAL "")
endif()
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