Skip to content

Commit

Permalink
drop legacy headers
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Sep 10, 2018
1 parent 80610ca commit 9097ccf
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 1,349 deletions.
1 change: 0 additions & 1 deletion apps/traincascade/boost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ using cv::ParallelLoopBody;
#include "boost.h"
#include "cascadeclassifier.h"
#include <queue>
#include "cxmisc.h"

#include "cvconfig.h"

Expand Down
4 changes: 2 additions & 2 deletions cmake/OpenCVGenConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ endif()
# -------------------------------------------------------------------------------------------
# Part 1/3: ${BIN_DIR}/OpenCVConfig.cmake -> For use *without* "make install"
# -------------------------------------------------------------------------------------------
set(OpenCV_INCLUDE_DIRS_CONFIGCMAKE "\"${OPENCV_CONFIG_FILE_INCLUDE_DIR}\" \"${OpenCV_SOURCE_DIR}/include\" \"${OpenCV_SOURCE_DIR}/include/opencv\"")
set(OpenCV_INCLUDE_DIRS_CONFIGCMAKE "\"${OPENCV_CONFIG_FILE_INCLUDE_DIR}\" \"${OpenCV_SOURCE_DIR}/include\"")

foreach(m ${OPENCV_MODULES_BUILD})
if(EXISTS "${OPENCV_MODULE_${m}_LOCATION}/include")
Expand Down Expand Up @@ -68,7 +68,7 @@ configure_file("${OpenCV_SOURCE_DIR}/cmake/templates/OpenCVConfig-version.cmake.
# Part 2/3: ${BIN_DIR}/unix-install/OpenCVConfig.cmake -> For use *with* "make install"
# -------------------------------------------------------------------------------------------
file(RELATIVE_PATH OpenCV_INSTALL_PATH_RELATIVE_CONFIGCMAKE "${CMAKE_INSTALL_PREFIX}/${OPENCV_CONFIG_INSTALL_PATH}/" ${CMAKE_INSTALL_PREFIX})
set(OpenCV_INCLUDE_DIRS_CONFIGCMAKE "\"\${OpenCV_INSTALL_PATH}/${OPENCV_INCLUDE_INSTALL_PATH}\" \"\${OpenCV_INSTALL_PATH}/${OPENCV_INCLUDE_INSTALL_PATH}/opencv\"")
set(OpenCV_INCLUDE_DIRS_CONFIGCMAKE "\"\${OpenCV_INSTALL_PATH}/${OPENCV_INCLUDE_INSTALL_PATH}\"")

if(USE_IPPICV)
file(RELATIVE_PATH IPPICV_INSTALL_PATH_RELATIVE_CONFIGCMAKE "${CMAKE_INSTALL_PREFIX}" "${IPPICV_INSTALL_PATH}")
Expand Down
4 changes: 0 additions & 4 deletions include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
file(GLOB old_hdrs "opencv/*.h*")
install(FILES ${old_hdrs}
DESTINATION ${OPENCV_INCLUDE_INSTALL_PATH}/opencv
COMPONENT dev)
install(FILES "opencv2/opencv.hpp"
DESTINATION ${OPENCV_INCLUDE_INSTALL_PATH}/opencv2
COMPONENT dev)
73 changes: 0 additions & 73 deletions include/opencv/cv.h

This file was deleted.

60 changes: 0 additions & 60 deletions include/opencv/cv.hpp

This file was deleted.

57 changes: 0 additions & 57 deletions include/opencv/cvaux.h

This file was deleted.

52 changes: 0 additions & 52 deletions include/opencv/cvaux.hpp

This file was deleted.

46 changes: 0 additions & 46 deletions include/opencv/cvwimage.h

This file was deleted.

52 changes: 0 additions & 52 deletions include/opencv/cxcore.h

This file was deleted.

Loading

0 comments on commit 9097ccf

Please sign in to comment.