We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7187076 commit 6897d26Copy full SHA for 6897d26
1 file changed
buildtools/build_dependency.cmake
@@ -245,6 +245,10 @@ function(build_dep)
245
set(BD_CONFIG "RelWithDebInfo")
246
endif()
247
248
+ if(NOT BD_CONFIG MATCHES "^(Debug|Release|RelWithDebInfo|MinSizeRel)$")
249
+ message(FATAL_ERROR "[${BD_NAME}] invalid CONFIG '${BD_CONFIG}' (expected a CMake build type)")
250
+ endif()
251
+
252
# Clear existing DEP_* variables so recipes do not leak into each other
253
get_cmake_property(_allvars VARIABLES)
254
foreach(_v ${_allvars})
0 commit comments