Skip to content

Commit bb6e827

Browse files
committed
Fix CMP0177 warning
1 parent cf00f8d commit bb6e827

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ option(INSTALL_DOCUMENTATION "Install the documentation" OFF)
6969
set(DOXYGEN_USE_MATHJAX YES)
7070
set(DOXYGEN_USE_TEMPLATE_CSS YES)
7171

72+
# install() DESTINATION paths are normalized (to remove in 3.31) (copied over
73+
# from Pinocchio)
74+
if(POLICY CMP0177)
75+
cmake_policy(SET CMP0177 NEW)
76+
set(CMAKE_POLICY_DEFAULT_CMP0177 NEW)
77+
endif()
7278
include(${JRL_CMAKE_MODULES}/base.cmake)
7379
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
7480
project(${PROJECT_NAME} ${PROJECT_ARGS})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy