Skip to content

Commit 17676ce

Browse files
committed
Bug#19001781: ADD SUPPORT FOR CMAKE 3
Post-push fix: CMP00042 is needed for OS X.
1 parent 4fe1fc0 commit 17676ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ ENDIF()
3434

3535
# We use the LOCATION target property (CMP0026)
3636
# and get_target_property() for non-existent targets (CMP0045)
37+
# and INSTALL_NAME_DIR (CMP0042)
3738
IF(CMAKE_VERSION VERSION_EQUAL "3.0.0" OR
3839
CMAKE_VERSION VERSION_GREATER "3.0.0")
3940
CMAKE_POLICY(SET CMP0026 OLD)
4041
CMAKE_POLICY(SET CMP0045 OLD)
42+
CMAKE_POLICY(SET CMP0042 OLD)
4143
ENDIF()
4244

4345
MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}")

0 commit comments

Comments
 (0)