File tree 3 files changed +8
-5
lines changed
Modules/ThirdParty/GDCM/src/gdcm
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -199,17 +199,16 @@ function(itk_fetch_module _name _description)
199
199
200
200
if (NOT DEFINED Module_${_name} )
201
201
option (Module_${_name} "(Remote-${MODULE_COMPLIANCE_LEVEL} ) ${_description} " OFF )
202
+ mark_as_advanced (Module_${_name} )
202
203
else ()
203
204
# If Module_${_name} is set manually, put its value in the CACHE
204
205
option (Module_${_name} "(Remote-${MODULE_COMPLIANCE_LEVEL} ) ${_description} " ${Module_${_name} })
205
206
endif ()
206
207
207
208
if (${MODULE_COMPLIANCE_LEVEL} GREATER_EQUAL ${ITK_MINIMUM_COMPLIANCE_LEVEL} )
208
209
set (Module_${_name} _VALID ON )
209
- mark_as_advanced (CLEAR Module_${_name} )
210
210
else ()
211
211
set (Module_${_name} _VALID OFF )
212
- mark_as_advanced (FORCE Module_${_name} )
213
212
endif ()
214
213
# message(INFO " MODULE_VALID Module_${_name}:${Module_${_name}_VALID}:${MODULE_COMPLIANCE_LEVEL}>=${ITK_MINIMUM_COMPLIANCE_LEVEL}")
215
214
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if("${CMAKE_VERSION}" VERSION_LESS_EQUAL "${GDCM_MAX_VALIDATED_CMAKE_VERSION}")
8
8
else ()
9
9
set (GDCM_CMAKE_POLICY_VERSION "${GDCM_MAX_VALIDATED_CMAKE_VERSION} " )
10
10
endif ()
11
- cmake_policy (VERSION ${GDCM_CMAKE_POLICY_VERSION} )
11
+ cmake_policy (VERSION ${GDCM_CMAKE_POLICY_VERSION} )
12
12
13
13
# GDCM version 3.0.0 will only support C++11 and greater
14
14
if (CMAKE_CXX_STANDARD EQUAL "98" )
@@ -23,7 +23,7 @@ project(GDCM
23
23
## NOTE: the "DESCRIPTION" feature of project() was introduced in cmake 3.10.0
24
24
set (PROJECT_DESCRIPTION "GDCM - Grassroots DICOM. GDCM is yet another DICOM library." )
25
25
26
- ## Set aliases for backwards compatibility. GDCM_VERSION_XXX are configured by the project() command
26
+ ## Set aliases for backwards compatibility. GDCM_VERSION_XXX are configured by the project() command
27
27
set (GDCM_MAJOR_VERSION ${GDCM_VERSION_MAJOR} )
28
28
set (GDCM_MINOR_VERSION ${GDCM_VERSION_MINOR} )
29
29
set (GDCM_BUILD_VERSION ${GDCM_VERSION_PATCH} )
@@ -564,7 +564,10 @@ if(APPLE)
564
564
if (GDCM_USE_COREFOUNDATION_LIBRARY)
565
565
find_library (COREFOUNDATION_LIBRARY CoreFoundation )
566
566
endif ()
567
- mark_as_advanced (COREFOUNDATION_LIBRARY)
567
+ mark_as_advanced (
568
+ GDCM_USE_COREFOUNDATION_LIBRARY
569
+ COREFOUNDATION_LIBRARY
570
+ )
568
571
endif ()
569
572
570
573
#-----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ endif()
168
168
if (APPLE )
169
169
list (APPEND OPENJPEG_LIBRARY_PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX} /${OPENJPEG_INSTALL_LIB_DIR} " )
170
170
option (OPJ_USE_DSYMUTIL "Call dsymutil on binaries after build." OFF )
171
+ mark_as_advanced (OPJ_USE_DSYMUTIL)
171
172
endif ()
172
173
173
174
#-----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments