|
|
@ -16,13 +16,20 @@
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
#####
|
|
|
|
|
|
|
|
##### Need cmake minimum version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include( TDEVersion )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
|
#####
|
|
|
|
#####
|
|
|
|
##### initialization...
|
|
|
|
##### initialization...
|
|
|
|
|
|
|
|
|
|
|
|
if( NOT TDE_CMAKE_ROOT )
|
|
|
|
if( NOT TDE_CMAKE_ROOT )
|
|
|
|
if( "${CMAKE_VERSION}" VERSION_LESS "3.5" )
|
|
|
|
if( "${CMAKE_VERSION}" VERSION_LESS "${TDE_CMAKE_MINIMUM_VERSION}" )
|
|
|
|
message( FATAL_ERROR "CMake >= 3.5.0 required" )
|
|
|
|
message( FATAL_ERROR "CMake >= ${TDE_CMAKE_MINIMUM_VERSION} required" )
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if( ${CMAKE_CURRENT_LIST_DIR} STREQUAL ${CMAKE_ROOT}/Modules )
|
|
|
|
if( ${CMAKE_CURRENT_LIST_DIR} STREQUAL ${CMAKE_ROOT}/Modules )
|
|
|
@ -83,7 +90,6 @@ include( CheckCXXSourceCompiles )
|
|
|
|
include( CheckLinkerFlag OPTIONAL )
|
|
|
|
include( CheckLinkerFlag OPTIONAL )
|
|
|
|
include( CheckSymbolExists )
|
|
|
|
include( CheckSymbolExists )
|
|
|
|
include( CheckTypeSize )
|
|
|
|
include( CheckTypeSize )
|
|
|
|
include( TDEVersion )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
|