mirror of https://github.com/CGAL/cgal
Fix a warning
This commit is contained in:
parent
86fb40832a
commit
9b72ed0b47
|
|
@ -60,7 +60,7 @@ create_single_source_cgal_program( "example_feature.cpp" CXX_FEATURES ${needed_c
|
|||
if( OpenCV_FOUND )
|
||||
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
||||
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()
|
||||
message(STATUS "OpenCV not found, random forest example won't be compiled.")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue