~ubuntu-branches/ubuntu/gutsy/kde4libs/gutsy

« back to all changes in this revision

Viewing changes to cmake/modules/MacroEnsureOutOfSourceBuild.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-02-21 11:00:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070221110012-6kw8khr9knv6lmg1
Tags: 3.80.3-0ubuntu1
New upstream unstable release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# - MACRO_ENSURE_OUT_OF_SOURCE_BUILD(<errorMessage>)
2
2
# MACRO_ENSURE_OUT_OF_SOURCE_BUILD(<errorMessage>)
3
3
 
 
4
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
 
5
#
 
6
# Redistribution and use is allowed according to the terms of the BSD license.
 
7
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 
8
 
4
9
MACRO (MACRO_ENSURE_OUT_OF_SOURCE_BUILD _errorMessage)
5
10
 
6
11
   STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource)