Skip to content

Commit da76ad9

Browse files
committed
Fix CMake warning related to FLANN_ROOT
Fix #6094 I also tested with the Windows all-in-one installer, where everything seems to work fine as well.
1 parent f19e4af commit da76ad9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: PCLConfig.cmake.in

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
# Set default policy behavior similar to minimum requirement version
3030
cmake_policy(VERSION 3.16.3)
3131

32+
if(POLICY CMP0144)
33+
cmake_policy(SET CMP0144 NEW)
34+
endif()
35+
3236
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/Modules")
3337

3438
### ---[ some useful macros

0 commit comments

Comments
 (0)