Skip to content

Commit 6ebb628

Browse files
committed
Merge branch 'upstream-libxml2' into update-libxml2
* upstream-libxml2: libxml2 2019-04-01 (a41ab7b3)
2 parents a7f2269 + 4cc84e7 commit 6ebb628

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ThirdParty/libxml2/vtklibxml2/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ SET(LIBXML_VERSION_NUMBER 20627)
44
SET(LIBXML_VERSION_EXTRA "")
55
SET(MODULE_EXTENSION ${CMAKE_SHARED_MODULE_SUFFIX})
66

7+
# Use new behavior of linking against libraries in the CMAKE_REQUIRED_LIBRARIES
8+
# variable in the CHECK_INCLUDE_FILE macro
9+
IF (POLICY CMP0075)
10+
CMAKE_POLICY(SET CMP0075 NEW)
11+
ENDIF()
12+
713
INCLUDE(CheckLibraryExists)
814
INCLUDE(CheckIncludeFile)
915
INCLUDE(CheckIncludeFiles)

0 commit comments

Comments
 (0)