Fix a warning

This commit is contained in:
Laurent Rineau 2017-11-13 12:04:10 +01:00
parent 86fb40832a
commit 9b72ed0b47
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ create_single_source_cgal_program( "example_feature.cpp" CXX_FEATURES ${needed_c
if( OpenCV_FOUND ) if( OpenCV_FOUND )
include_directories( ${OpenCV_INCLUDE_DIRS} ) include_directories( ${OpenCV_INCLUDE_DIRS} )
create_single_source_cgal_program( "example_random_forest.cpp" CXX_FEATURES ${needed_cxx_features} ) create_single_source_cgal_program( "example_random_forest.cpp" CXX_FEATURES ${needed_cxx_features} )
target_link_libraries( example_random_forest ${OpenCV_LIBS} ) target_link_libraries( example_random_forest PRIVATE ${OpenCV_LIBS} )
else() else()
message(STATUS "OpenCV not found, random forest example won't be compiled.") message(STATUS "OpenCV not found, random forest example won't be compiled.")
endif() endif()