Skip to content

Commit 46dd263

Browse files
committed
Merge pull request #632 from StevenPuttemans:remove_redundant_CMAKE_check
2 parents 0c24199 + dd33354 commit 46dd263

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

modules/cnn_3dobj/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
3333
if(${Caffe_FOUND})
3434
include_directories(${Caffe_INCLUDE_DIR})
3535
endif()
36-
set(the_description "CNN for 3D object recognition and pose estimation including a completed Sphere View on 3D objects")
37-
ocv_define_module(cnn_3dobj opencv_core opencv_imgproc opencv_viz opencv_highgui OPTIONAL WRAP python)
36+
set(the_description "CNN for 3D object recognition and pose estimation including a completed Sphere View on 3D objects")
37+
ocv_define_module(cnn_3dobj opencv_core opencv_imgproc opencv_viz opencv_highgui OPTIONAL WRAP python)
3838

3939
if(${Caffe_FOUND})
4040
target_link_libraries(opencv_cnn_3dobj ${Caffe_LIBS} ${Glog_LIBS} ${Protobuf_LIBS})

modules/cvv/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ if(NOT HAVE_QT5)
33
return()
44
endif()
55

6+
set(the_description "Debug visualization framework")
7+
ocv_define_module(cvv opencv_core opencv_imgproc opencv_features2d ${CVV_LIBRARIES} WRAP python)
8+
69
# we need C++11 and want warnings:
710
if(MSVC)
811
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Qstd=c++11 /W4")
@@ -20,6 +23,3 @@ foreach(dt5_dep Core Gui Widgets)
2023
include_directories(${Qt5${dt5_dep}_INCLUDE_DIRS})
2124
list(APPEND CVV_LIBRARIES ${Qt5${dt5_dep}_LIBRARIES})
2225
endforeach()
23-
24-
set(the_description "Debug visualization framework")
25-
ocv_define_module(cvv opencv_core opencv_imgproc opencv_features2d ${CVV_LIBRARIES} WRAP python)

modules/hdf/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ else()
2727
message(STATUS "HDF5: NO")
2828
endif()
2929

30+
set(the_description "Hierarchical Data Format I/O")
31+
ocv_define_module(hdf opencv_core WRAP python)
32+
3033
if(HDF5_FOUND)
3134
include_directories(${HDF5_INCLUDE_DIRS})
3235
endif()
3336

34-
set(the_description "Hierarchical Data Format I/O")
35-
ocv_define_module(hdf opencv_core WRAP python)
36-
3737
if(HDF5_FOUND)
3838
target_link_libraries(opencv_hdf ${HDF5_LIBRARIES})
3939
endif()

modules/text/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
set(the_description "Text Detection and Recognition")
2+
ocv_define_module(text opencv_ml opencv_highgui opencv_imgproc opencv_core opencv_features2d WRAP python)
3+
14
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR})
25

36
find_package(Tesseract)
@@ -17,9 +20,6 @@ if(${Tesseract_FOUND})
1720
include_directories(${Tesseract_INCLUDE_DIR})
1821
endif()
1922

20-
set(the_description "Text Detection and Recognition")
21-
ocv_define_module(text opencv_ml opencv_highgui opencv_imgproc opencv_core opencv_features2d WRAP python)
22-
2323
if(${Tesseract_FOUND})
2424
target_link_libraries(opencv_text ${Tesseract_LIBS})
2525
endif()

0 commit comments

Comments
 (0)