Fix cmake

This commit is contained in:
simon987 2019-12-26 16:50:08 -05:00
parent a26d3fef12
commit 514e53b934

View File

@ -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)