Update CMakeLists.txt
This commit is contained in:
parent
6d742ddadc
commit
e57bcbe10e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user