some more fixes for the static library configuration

This commit is contained in:
Vadim Pisarevsky
2010-12-05 02:10:59 +00:00
parent 0de9c9fd3c
commit 9dfb15dbbd
8 changed files with 28 additions and 10 deletions

View File

@@ -57,4 +57,10 @@ set_target_properties(${the_target}
DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/3rdparty/lib"
)
if(NOT BUILD_SHARED_LIBS)
install(TARGETS ${the_target}
ARCHIVE DESTINATION share/opencv/3rdparty/lib COMPONENT main)
endif()
endif(ANDROID)#!android