comparison CMakeLists.txt @ 506:6e4bd06c17c5 laaw

the wrapper is working
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Jul 2013 12:01:51 +0200
parents 7f7a2d174acb
children 49a1228d6fe7
comparison
equal deleted inserted replaced
504:50d9660f960c 506:6e4bd06c17c5
38 include(CheckIncludeFileCXX) 38 include(CheckIncludeFileCXX)
39 include(CheckLibraryExists) 39 include(CheckLibraryExists)
40 include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake) 40 include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake)
41 include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake) 41 include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake)
42 include(${CMAKE_SOURCE_DIR}/Resources/CMake/Compiler.cmake) 42 include(${CMAKE_SOURCE_DIR}/Resources/CMake/Compiler.cmake)
43
44 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR})
43 45
44 # Configuration of the standalone builds 46 # Configuration of the standalone builds
45 if (${CMAKE_CROSSCOMPILING}) 47 if (${CMAKE_CROSSCOMPILING})
46 # Cross-compilation implies the standalone build 48 # Cross-compilation implies the standalone build
47 SET(STANDALONE_BUILD ON) 49 SET(STANDALONE_BUILD ON)