changeset 3637:06eb59faf4da storage-commitment

use a shorter path for VS2008
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 31 Jan 2020 15:50:17 +0100
parents bce6ee64f2a4
children ae866fc06df5
files CMakeLists.txt
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Jan 31 14:29:35 2020 +0100
+++ b/CMakeLists.txt	Fri Jan 31 15:50:17 2020 +0100
@@ -484,9 +484,13 @@
       )
   endif()
 
-  externalproject_add(ConnectivityChecksProject
+  externalproject_add(ConnectivityChecks
     SOURCE_DIR "${ORTHANC_ROOT}/Plugins/Samples/ConnectivityChecks"
 
+    # We explicitly provide a build directory, in order to avoid paths
+    # that are too long on our Visual Studio 2008 CIS
+    BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/ConnectivityChecks-build"
+
     CMAKE_ARGS
     -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
     -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}