suppressing CMP0020 and CMP0043 warnings

This commit is contained in:
matlabbe
2016-08-11 14:13:29 -04:00
parent 0ccb69bc06
commit 5557701f44
5 changed files with 23 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ else()
ENDIF(NOT Qt5_FOUND)
endif()
if(POLICY CMP0020)
cmake_policy(SET CMP0020 OLD)
endif()
SET(INCLUDE_DIRS
${RTABMap_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}