diff options
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/common/Macros.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake index 5e88639cb5..31d8f16e0e 100644 --- a/cmake/scripts/common/Macros.cmake +++ b/cmake/scripts/common/Macros.cmake @@ -245,6 +245,8 @@ function(copy_file_to_buildtree file) COMMAND ${CMAKE_COMMAND} -DBUNDLEDIR=${_bundle_dir} -P ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/ExportFiles.cmake) set_target_properties(export-files PROPERTIES FOLDER "Build Utilities") + # Add comment to ensure ExportFiles.cmake is created even if not used. + file(APPEND ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/ExportFiles.cmake "# Export files to build tree\n") endif() if(${CORE_SYSTEM_NAME} MATCHES "windows") |