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_minimum_required(VERSION 3.12.0 FATAL_ERROR)
|
||||||
cmake_policy(SET CMP0074 NEW)
|
|
||||||
|
|
||||||
project(JTDLib VERSION 1.0 LANGUAGES CXX)
|
project(JTDLib VERSION 1.0 LANGUAGES CXX)
|
||||||
set(CMAKE_BUILD_TYPE Release)
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
@ -10,6 +9,8 @@ if (POLICY CMP0054)
|
|||||||
cmake_policy(SET CMP0054 NEW)
|
cmake_policy(SET CMP0054 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
cmake_policy(SET CMP0074 NEW)
|
||||||
|
|
||||||
find_package(Td REQUIRED)
|
find_package(Td REQUIRED)
|
||||||
|
|
||||||
if (NOT JNI_FOUND)
|
if (NOT JNI_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user