Applied a change from 555c505b to 3rdparty/tbb/CMakeLists.txt.
authorRoman Donchenko <roman.donchenko@itseez.com>
Tue, 22 Oct 2013 15:13:13 +0000 (19:13 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 23 Oct 2013 10:56:37 +0000 (14:56 +0400)
Odd that it wasn't merged automatically...

3rdparty/tbb/CMakeLists.txt

index 49ad95e..f91303d 100644 (file)
@@ -231,7 +231,7 @@ if(ENABLE_SOLUTION_FOLDERS)
   set_target_properties(tbb PROPERTIES FOLDER "3rdparty")
 endif()
 
-install(TARGETS tbb EXPORT OpenCVModules
+ocv_install_target(tbb EXPORT OpenCVModules
     RUNTIME DESTINATION ${OPENCV_BIN_INSTALL_PATH} COMPONENT main
     LIBRARY DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT main
     ARCHIVE DESTINATION ${OPENCV_3P_LIB_INSTALL_PATH} COMPONENT main