@ -965,8 +965,6 @@ IF(NOT BUILD_SHARED_LIBS)
if ( CMAKE_COMPILER_IS_GNUCXX )
set ( OPENCV_LINKER_LIBS ${ OPENCV_LINKER_LIBS } stdc++ )
endif ( )
set ( OPENCV_LINKER_LIBS ${ OPENCV_LINKER_LIBS } opencv_flann zlib opencv_lapack )
endif ( )
@ -1067,18 +1065,6 @@ set(CMAKE_BASE_INCLUDE_DIRS_CONFIGCMAKE "\"\"")
set ( CMAKE_LIB_DIRS_CONFIGCMAKE "${CMAKE_INSTALL_PREFIX}/lib" )
# T h i s w i l l e x p a n d t o , f o r e x a m p l e , < p r o g r a m f i l e s > / O p e n C V 1 . 1 . 0 / i n c l u d e
set ( CMAKE_INCLUDE_DIRS_CONFIGCMAKE "\" \${THIS_OPENCV_CONFIG_PATH}/include\"
\ " \ $ { T H I S _ O P E N C V _ C O N F I G _ P A T H } / i n c l u d e / o p e n c v \ "
\ " \ $ { T H I S _ O P E N C V _ C O N F I G _ P A T H } / 3 r d p a r t y / i n c l u d e \ " " )
set ( CMAKE_BASE_INCLUDE_DIRS_CONFIGCMAKE "\" \${THIS_OPENCV_CONFIG_PATH}\"")
# T h i s w i l l e x p a n d t o , f o r e x a m p l e , < p r o g r a m f i l e s > / O p e n C V 1 . 1 . 0 / l i b
# s u p p o r t f o r 3 r d p a r t y l i b r a r i e s .
set ( CMAKE_LIB_DIRS_CONFIGCMAKE "\" \${THIS_OPENCV_CONFIG_PATH}/lib\"
\ " \ $ { T H I S _ O P E N C V _ C O N F I G _ P A T H } / 3 r d p a r t y / l i b \ " " )
exec_program ( mkdir ARGS "-p \" ${ CMAKE_BINARY_DIR } /unix-install/\ "" OUTPUT_VARIABLE RET_VAL )
configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/OpenCVConfig.cmake.in" "${CMAKE_BINARY_DIR}/unix-install/OpenCVConfig.cmake" IMMEDIATE @ONLY )
@ -1093,6 +1079,17 @@ endif()
if ( WIN32 )
# S e t C M A K E _ I N C L U D E _ D I R S _ C O N F I G C M A K E t o t h e l i s t o f i n c l u d e d i r e c t o r i e s :
# s u p p o r t f o r 3 r d p a r t y l i b r a r i e s .
# T h i s w i l l e x p a n d t o , f o r e x a m p l e , < p r o g r a m f i l e s > / O p e n C V 1 . 1 . 0 / i n c l u d e
set ( CMAKE_INCLUDE_DIRS_CONFIGCMAKE "\" \${THIS_OPENCV_CONFIG_PATH}/include\"
\ " \ $ { T H I S _ O P E N C V _ C O N F I G _ P A T H } / i n c l u d e / o p e n c v \ "
\ " \ $ { T H I S _ O P E N C V _ C O N F I G _ P A T H } / 3 r d p a r t y / i n c l u d e \ " " )
set ( CMAKE_BASE_INCLUDE_DIRS_CONFIGCMAKE "\" \${THIS_OPENCV_CONFIG_PATH}\"")
# T h i s w i l l e x p a n d t o , f o r e x a m p l e , < p r o g r a m f i l e s > / O p e n C V 1 . 1 . 0 / l i b
# s u p p o r t f o r 3 r d p a r t y l i b r a r i e s .
set ( CMAKE_LIB_DIRS_CONFIGCMAKE "\" \${THIS_OPENCV_CONFIG_PATH}/lib\"
\ " \ $ { T H I S _ O P E N C V _ C O N F I G _ P A T H } / 3 r d p a r t y / l i b \ " " )
# exec_program ( ${ CMAKE_COMMAND } ARGS "-E make_directory \" ${ CMAKE_BINARY_DIR } /win-install/\ "" )
exec_program ( mkdir ARGS "-p \" ${ CMAKE_BINARY_DIR } /win-install/\ "" OUTPUT_VARIABLE RET_VAL )