summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-30 07:20:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-30 07:20:00 +0200
commit73032cf0e8df0b942b3617cd06f1d50078ee085a (patch)
tree52d8292228e02553ad8f5c7c6b017294ded84fa4 /CMakeLists.txt
parent54266dc1ea71411168f5275f066111cef4ac8314 (diff)
cmake: disable in-source builds the right way
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19e7d551..3277fd4d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,8 +21,8 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
+set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
-include(opentrack-check-build-directory)
include(opentrack-mrproper)
project(opentrack)