From bc043ec7cdf0adff55971521231a540d3411420c Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Thu, 4 Oct 2012 21:59:20 +0000 Subject: [PATCH] Use correct source directory for building outside of source. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e87b9e8..e5aa0a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ set (UHUB_VERSION_MAJOR 0) set (UHUB_VERSION_MINOR 4) set (UHUB_VERSION_PATCH 1) -set (PROJECT_SOURCE_DIR "src") +set (PROJECT_SOURCE_DIR "${CMAKE_SOURCE_DIR}/src") option(RELEASE "Release build, debug build if disabled" ON) option(LINK_SUPPORT "Allow hub linking" OFF)