Update CMakeLists.txt

This commit is contained in:
Andrea Cavalli 2020-10-05 15:49:08 +02:00
parent 6d742ddadc
commit e57bcbe10e

View File

@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
cmake_policy(SET CMP0074 NEW)
cmake_minimum_required(VERSION 3.12.0 FATAL_ERROR)
project(JTDLib VERSION 1.0 LANGUAGES CXX)
set(CMAKE_BUILD_TYPE Release)
@ -10,6 +9,8 @@ if (POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
cmake_policy(SET CMP0074 NEW)
find_package(Td REQUIRED)
if (NOT JNI_FOUND)