some more fixes for the static library configuration
This commit is contained in:
7
3rdparty/lapack/CMakeLists.txt
vendored
7
3rdparty/lapack/CMakeLists.txt
vendored
@@ -62,13 +62,8 @@ set_target_properties(${the_target}
|
||||
)
|
||||
|
||||
if(NOT BUILD_SHARED_LIBS)
|
||||
set_target_properties(${the_target}
|
||||
PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
|
||||
install(TARGETS ${the_target}
|
||||
RUNTIME DESTINATION bin COMPONENT main
|
||||
LIBRARY DESTINATION lib COMPONENT main
|
||||
ARCHIVE DESTINATION lib COMPONENT main)
|
||||
ARCHIVE DESTINATION share/opencv/3rdparty/lib COMPONENT main)
|
||||
endif()
|
||||
|
||||
endif() #android
|
||||
|
Reference in New Issue
Block a user