2015-12-03 12:43:37 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
|
|
|
|
|
2015-12-17 11:25:47 +01:00
|
|
|
add_library(slow_hal impl.cpp)
|
2016-03-24 15:05:54 +01:00
|
|
|
set_target_properties(slow_hal PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
2015-12-15 13:55:43 +01:00
|
|
|
set(OPENCV_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../..")
|
2015-12-17 11:25:47 +01:00
|
|
|
target_include_directories(slow_hal PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${OPENCV_SRC_DIR}/modules/core/include)
|
2016-03-24 15:05:54 +01:00
|
|
|
|
|
|
|
configure_file("impl.hpp" "${CMAKE_BINARY_DIR}/impl.hpp" COPYONLY)
|
|
|
|
configure_file("config.cmake" "${CMAKE_BINARY_DIR}/OpenCV_HALConfig.cmake" COPYONLY)
|