This commit is contained in:
matlabbe
2020-02-05 20:01:02 -05:00
parent f7deefb31d
commit c9f21e7ebf
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -565,8 +565,8 @@ IF(WITH_ORB_SLAM2 AND NOT G2O_FOUND)
ENDIF(ORB_SLAM2_FOUND)
ENDIF(WITH_ORB_SLAM2 AND NOT G2O_FOUND)
IF(loam_velodyne_FOUND)
#LOAM requires c++14
IF(loam_velodyne_FOUND OR PCL_VERSION VERSION_GREATER_EQUAL "1.10.0")
#LOAM and PCL>=1.10 require c++14
IF(NOT MSVC)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)