[+] added use_folders cmake feature if cmake version is greater then 2.8.0

[~] fixed warning in featuers2d under windows (can't generate assignment operator)
This commit is contained in:
Anatoly Baksheev
2011-05-11 13:37:20 +00:00
parent c46b510f4c
commit c49dc37761
20 changed files with 338 additions and 12 deletions

View File

@@ -39,6 +39,10 @@ if (BUILD_EXAMPLES)
target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} opencv_core
opencv_flann opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect
opencv_features2d opencv_calib3d opencv_legacy opencv_contrib)
if(SOLUTION_FOLDERS_ENABLED)
set_target_properties(${the_target} PROPERTIES FOLDER "samples//cpp")
endif()
if(WIN32)
install(TARGETS ${the_target}