Created
April 10, 2011 12:53
-
-
Save tomprince/912318 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 60c6909..51757ff 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -7,7 +7,7 @@ endif(COMMAND cmake_policy) | |
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) | |
# prevent in-source builds | |
-IF(NOT ${INSOURCEBUILD} AND ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) | |
+IF(NOT INSOURCEBUILD AND ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) | |
MESSAGE(FATAL_ERROR " | |
CMake generation for this project is not allowed within the source directory! | |
Remove the CMake cache files and try again from another folder, e.g.: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment