[+] 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

@@ -32,6 +32,10 @@ set_target_properties(${the_target}
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/3rdparty/lib"
)
if(SOLUTION_FOLDERS_ENABLED)
set_target_properties(${the_target} PROPERTIES FOLDER "3rdparty")
endif()
if(NOT BUILD_SHARED_LIBS)
install(TARGETS ${the_target}
ARCHIVE DESTINATION share/opencv/3rdparty/lib COMPONENT main)