mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
373 B
12 lines
373 B
9 years ago
|
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
|
||
|
|
||
|
if(UNIX)
|
||
|
if(CMAKE_COMPILER_IS_GNUCXX OR CV_ICC)
|
||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||
|
endif()
|
||
|
endif()
|
||
|
|
||
9 years ago
|
add_library(slow_hal impl.cpp)
|
||
9 years ago
|
set(OPENCV_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../..")
|
||
9 years ago
|
target_include_directories(slow_hal PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${OPENCV_SRC_DIR}/modules/core/include)
|