changeset 1062:804a75413ee7

fix windows build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Jul 2014 14:51:18 +0200
parents 4b4ab35c04f5
children 0332e6e8c679
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Jul 25 14:34:39 2014 +0200
+++ b/CMakeLists.txt	Fri Jul 25 14:51:18 2014 +0200
@@ -45,6 +45,9 @@
 SET(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)")
 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE)
 
+# Path to the root folder of the Orthanc distribution
+set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR})
+
 # Some basic inclusions
 include(CheckIncludeFiles)
 include(CheckIncludeFileCXX)
@@ -54,8 +57,6 @@
 include(${CMAKE_SOURCE_DIR}/Resources/CMake/Compiler.cmake)
 include(${CMAKE_SOURCE_DIR}/Resources/CMake/VisualStudioPrecompiledHeaders.cmake)
 
-set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR})
-