mirror of
https://github.com/simon987/fastimagehash.git
synced 2025-04-04 09:23:00 +00:00
Fix cmake
This commit is contained in:
parent
a26d3fef12
commit
514e53b934
@ -2,19 +2,19 @@ cmake_minimum_required(VERSION 3.15)
|
||||
project(fastimagehash)
|
||||
|
||||
|
||||
set(BUILD_UT OFF)
|
||||
set(BUILD_UT OFF CACHE INTERNAL "")
|
||||
add_subdirectory(thirdparty/wavelib)
|
||||
|
||||
set(BENCHMARK_ENABLE_GTEST_TESTS OFF)
|
||||
set(BENCHMARK_ENABLE_TESTING OFF)
|
||||
set(BENCHMARK_ENABLE_INSTALL OFF)
|
||||
set(CMAKE_BUILD_TYPE RELEASE)
|
||||
set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE INTERNAL "")
|
||||
set(BENCHMARK_ENABLE_TESTING OFF CACHE INTERNAL "")
|
||||
set(BENCHMARK_ENABLE_INSTALL OFF CACHE INTERNAL "")
|
||||
set(CMAKE_BUILD_TYPE RELEASE CACHE INTERNAL "")
|
||||
add_subdirectory(thirdparty/benchmark)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "cmake/")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "cmake/" CACHE INTERNAL "")
|
||||
|
||||
find_package(OpenCV REQUIRED)
|
||||
find_package(FFTW REQUIRED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user