comparison CMakeLists.txt @ 20:cb7fd3c25f40

added cmake option VTK_BUILD_TYPE
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 12 Sep 2023 13:35:14 +0200
parents c02d12eb34d4
children 48d18eb27477
comparison
equal deleted inserted replaced
19:560620c9c5b2 20:cb7fd3c25f40
62 SET(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") 62 SET(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK")
63 63
64 # Parameters to fine-tune linking against system libraries 64 # Parameters to fine-tune linking against system libraries
65 set(USE_SYSTEM_NIFTILIB ON CACHE BOOL "Use the system version of niftilib") 65 set(USE_SYSTEM_NIFTILIB ON CACHE BOOL "Use the system version of niftilib")
66 set(USE_SYSTEM_VTK ON CACHE BOOL "Use the system version of VTK") 66 set(USE_SYSTEM_VTK ON CACHE BOOL "Use the system version of VTK")
67
68 # Option "VTK_BUILD_TYPE" is necessary for multi-configuration
69 # compilers (such as XCode or MSVC), for "externalproject_add()" to
70 # choose the correct build type (which is not known when running
71 # "cmake" to configure the project)
72 set(VTK_BUILD_TYPE "Release" CACHE STRING "Build type to be used for static builds of VTK (should be \"Debug\" or \"Release\")")
67 73
68 74
69 ##################################################################### 75 #####################################################################
70 ## Download and setup the Orthanc framework 76 ## Download and setup the Orthanc framework
71 ##################################################################### 77 #####################################################################