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 590c061 commit ce9763fCopy full SHA for ce9763f
py/usermod.cmake
@@ -42,6 +42,11 @@ endfunction()
42
# Include CMake files for user modules.
43
if (USER_C_MODULES)
44
foreach(USER_C_MODULE_PATH ${USER_C_MODULES})
45
+ if (NOT EXISTS ${USER_C_MODULE_PATH})
46
+ get_filename_component(USER_C_MODULES_ABS "${USER_C_MODULE_PATH}" ABSOLUTE)
47
+ message(FATAL_ERROR "USER_C_MODULES doesn't exist: ${USER_C_MODULES_ABS}")
48
+ endif()
49
+
50
message("Including User C Module(s) from ${USER_C_MODULE_PATH}")
51
include(${USER_C_MODULE_PATH})
52
endforeach()
0 commit comments