Skip to content

Commit d92873e

Browse files
Francois Budinkwrobot
authored andcommitted
Merge topic 'FixGDCMHonorVisibilityProperties'
9cd7533 COMP: Enable CMP0063, support setting visibility properties
2 parents a311b8d + 9cd7533 commit d92873e

5 files changed

Lines changed: 18 additions & 0 deletions

File tree

Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmcharls/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ string(TOLOWER ${CHARLS_NAMESPACE} CHARLS_LIBRARY_NAME)
99

1010
project(${CHARLS_NAMESPACE} CXX)
1111

12+
if(POLICY CMP0063)
13+
cmake_policy(SET CMP0063 NEW)
14+
endif()
15+
1216
#-----------------------------------------------------------------------------
1317
# CHARLS version number
1418
set(CHARLS_MAJOR_VERSION 1)

Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ string(TOLOWER ${JPEG_NAMESPACE} JPEG_LIBRARY_NAME)
1515

1616
project(${JPEG_NAMESPACE} C)
1717

18+
if(POLICY CMP0063)
19+
cmake_policy(SET CMP0063 NEW)
20+
endif()
21+
1822
# Do full dependency headers.
1923
include_regular_expression("^.*$")
2024

Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ if(COMMAND CMAKE_POLICY)
1414
if (NOT (${CMAKE_VERSION} VERSION_LESS 3.0))
1515
cmake_policy(SET CMP0042 NEW)
1616
endif()
17+
if(POLICY CMP0063)
18+
cmake_policy(SET CMP0063 NEW)
19+
endif()
1720
endif()
1821

1922
if(NOT OPENJPEG_NAMESPACE)

Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmuuid/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ string(TOLOWER ${UUID_NAMESPACE} UUID_LIBRARY_NAME)
99

1010
project(${UUID_NAMESPACE} C)
1111

12+
if(POLICY CMP0063)
13+
cmake_policy(SET CMP0063 NEW)
14+
endif()
15+
1216
# Do full dependency headers.
1317
include_regular_expression("^.*$")
1418

Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 2.8.7)
22
if(POLICY CMP0022)
33
cmake_policy(SET CMP0022 NEW)
44
endif()
5+
if(POLICY CMP0063)
6+
cmake_policy(SET CMP0063 NEW)
7+
endif()
58

69
# http://www.linuxhacker.at/socketxx
710
if(NOT SOCKETXX_NAMESPACE)

0 commit comments

Comments
 (0)