From 7d3842dbd01175dc04cbd77e852b30af3ab5ac35 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Dec 2010 14:32:07 -0800 Subject: cmake: disable the in-tree build prevention --- host/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 60c53ba9a..f59cda23f 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -16,9 +16,9 @@ # ######################################################################## -IF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) - MESSAGE(FATAL_ERROR "Prevented in-tree built. This is bad practice.") -ENDIF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) +#IF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) +# MESSAGE(FATAL_ERROR "Prevented in-tree built. This is bad practice.") +#ENDIF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) ######################################################################## # Project setup -- cgit v1.2.3