Update make minimum required version
This commit is contained in:
Родитель
f44ee0161d
Коммит
5315c355b6
|
@ -1,4 +1,4 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 3.5.0)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0)
|
||||
|
||||
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
|
||||
FIND_PACKAGE(Dotnet 2.0 REQUIRED)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0)
|
||||
IF(WIN32)
|
||||
add_definitions(/DCATCH_CONFIG_NOSTDOUT)
|
||||
ENDIF()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0)
|
||||
PROJECT(Trinity.C)
|
||||
|
||||
FILE(GLOB_RECURSE TRINITY_SRC *.cpp)
|
||||
|
@ -11,7 +11,7 @@ TARGET_INCLUDE_DIRECTORIES(Trinity PRIVATE src)
|
|||
TARGET_COMPILE_DEFINITIONS(Trinity PUBLIC -DUNICODE -D_UNICODE)
|
||||
TARGET_LINK_LIBRARIES(Trinity PUBLIC Trinity.BCL)
|
||||
|
||||
IF(UNIX)
|
||||
IF(UNIX)
|
||||
TARGET_LINK_LIBRARIES(Trinity PRIVATE crypto;ssl;pthread)
|
||||
ELSEIF(WIN32)
|
||||
ADD_DEFINITIONS(-DWIN32 -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -D_USRDLL -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0)
|
||||
|
||||
ADD_DOTNET(
|
||||
Trinity.Core.csproj
|
||||
Trinity.Core.csproj
|
||||
PACKAGE GraphEngine.Core
|
||||
VERSION ${TRINITY_VERSION})
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 3.5.0)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0)
|
||||
|
||||
PROJECT(Trinity.TSL)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче