Reverted change from r5802 (it breaks install target for Android platform)
authorAndrey Kamaev <no@email>
Fri, 1 Jul 2011 06:58:53 +0000 (06:58 +0000)
committerAndrey Kamaev <no@email>
Fri, 1 Jul 2011 06:58:53 +0000 (06:58 +0000)
modules/highgui/CMakeLists.txt

index 4b7a9eb..458a661 100644 (file)
@@ -362,8 +362,8 @@ endif()
 
 install(TARGETS ${the_target}
     RUNTIME DESTINATION bin COMPONENT main
-    LIBRARY DESTINATION lib COMPONENT main
-    ARCHIVE DESTINATION lib COMPONENT main)
+    LIBRARY DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT main
+    ARCHIVE DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT main)
 
 install(FILES ${highgui_ext_hdrs}
         DESTINATION ${OPENCV_INCLUDE_PREFIX}/opencv2/highgui