summaryrefslogtreecommitdiffstats
path: root/cmakemodules/MacroEnsureOutOfSourceBuild.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmakemodules/MacroEnsureOutOfSourceBuild.cmake')
-rw-r--r--cmakemodules/MacroEnsureOutOfSourceBuild.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/cmakemodules/MacroEnsureOutOfSourceBuild.cmake b/cmakemodules/MacroEnsureOutOfSourceBuild.cmake
deleted file mode 100644
index ef4d525..0000000
--- a/cmakemodules/MacroEnsureOutOfSourceBuild.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# - MACRO_ENSURE_OUT_OF_SOURCE_BUILD(<errorMessage>)
-# MACRO_ENSURE_OUT_OF_SOURCE_BUILD(<errorMessage>)
-
-# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-MACRO (MACRO_ENSURE_OUT_OF_SOURCE_BUILD _errorMessage)
-
- STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource)
- IF(insource)
- MESSAGE(FATAL_ERROR "${_errorMessage}")
- ENDIF(insource)
-
-ENDMACRO (MACRO_ENSURE_OUT_OF_SOURCE_BUILD)