Commit e7c02f37 authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed world build with HAL

parent 5b3f89df
......@@ -9,6 +9,10 @@ else()
set(OPENCV_WORLD_FLAGS_PROPERTY LINK_FLAGS)
endif()
function(include_one_module m)
include("${OPENCV_MODULE_${m}_LOCATION}/CMakeLists.txt")
endfunction()
if(NOT OPENCV_INITIAL_PASS)
project(opencv_world)
......@@ -18,7 +22,7 @@ if(NOT OPENCV_INITIAL_PASS)
message(STATUS " module ${m}...")
set(CMAKE_CURRENT_SOURCE_DIR ${OPENCV_MODULE_${m}_LOCATION})
#add_subdirectory("${OPENCV_MODULE_${m}_LOCATION}" ${CMAKE_CURRENT_BINARY_DIR}/${m})
include("${OPENCV_MODULE_${m}_LOCATION}/CMakeLists.txt")
include_one_module(${m})
endif()
endforeach()
message(STATUS "Processing WORLD modules... DONE")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment