diff options
Diffstat (limited to 'find-modules/GeneratePythonBindingUmbrellaModule.cmake')
-rw-r--r-- | find-modules/GeneratePythonBindingUmbrellaModule.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/find-modules/GeneratePythonBindingUmbrellaModule.cmake b/find-modules/GeneratePythonBindingUmbrellaModule.cmake new file mode 100644 index 00000000..35bbc2c5 --- /dev/null +++ b/find-modules/GeneratePythonBindingUmbrellaModule.cmake @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.2) + +get_filename_component(PYTHON_UMBRELLA_MODULE_DIR ${PYTHON_UMBRELLA_MODULE_FILE} PATH) + +file(MAKE_DIRECTORY "${PYTHON_UMBRELLA_MODULE_DIR}") + +execute_process(COMMAND "${CMAKE_COMMAND}" -E touch "${PYTHON_UMBRELLA_MODULE_FILE}") |