summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeImportBuildSettings.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeImportBuildSettings.cmake')
-rw-r--r--Modules/CMakeImportBuildSettings.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/CMakeImportBuildSettings.cmake b/Modules/CMakeImportBuildSettings.cmake
index 848d894..f0080ec 100644
--- a/Modules/CMakeImportBuildSettings.cmake
+++ b/Modules/CMakeImportBuildSettings.cmake
@@ -16,9 +16,9 @@
# This macro used to load build settings from another project that
# stored settings using the CMAKE_EXPORT_BUILD_SETTINGS macro.
-MACRO(CMAKE_IMPORT_BUILD_SETTINGS SETTINGS_FILE)
- IF(${SETTINGS_FILE} MATCHES ".+")
- ELSE(${SETTINGS_FILE} MATCHES ".+")
- MESSAGE(SEND_ERROR "CMAKE_IMPORT_BUILD_SETTINGS called with no argument.")
- ENDIF(${SETTINGS_FILE} MATCHES ".+")
-ENDMACRO(CMAKE_IMPORT_BUILD_SETTINGS)
+macro(CMAKE_IMPORT_BUILD_SETTINGS SETTINGS_FILE)
+ if(${SETTINGS_FILE} MATCHES ".+")
+ else(${SETTINGS_FILE} MATCHES ".+")
+ message(SEND_ERROR "CMAKE_IMPORT_BUILD_SETTINGS called with no argument.")
+ endif(${SETTINGS_FILE} MATCHES ".+")
+endmacro(CMAKE_IMPORT_BUILD_SETTINGS)