|
|
|
@ -10,10 +10,14 @@
|
|
|
|
|
############################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmake_minimum_required( VERSION 3.5 )
|
|
|
|
|
##### set project version
|
|
|
|
|
|
|
|
|
|
include( TDEVersion )
|
|
|
|
|
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
|
|
|
|
|
tde_set_project_version( )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### general package setup
|
|
|
|
|
##### general package setup
|
|
|
|
|
|
|
|
|
|
project( libksquirrel )
|
|
|
|
|
|
|
|
|
@ -24,7 +28,7 @@ set(LIBKSQUIRREL_VERSION_STRING
|
|
|
|
|
"${LIBKSQUIRREL_VERSION_MAJOR}.${LIBKSQUIRREL_VERSION_MINOR}.${LIBKSQUIRREL_VERSION_PATCH}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### include essential cmake modules
|
|
|
|
|
##### include essential cmake modules
|
|
|
|
|
|
|
|
|
|
include( FindPkgConfig )
|
|
|
|
|
include( CheckFunctionExists )
|
|
|
|
@ -35,16 +39,11 @@ include( CheckCSourceCompiles )
|
|
|
|
|
include( CheckCXXSourceCompiles )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### include our cmake modules
|
|
|
|
|
##### include our cmake modules
|
|
|
|
|
|
|
|
|
|
include( TDEMacros )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### set version number
|
|
|
|
|
|
|
|
|
|
tde_set_project_version( )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### setup install paths
|
|
|
|
|
|
|
|
|
|
include( TDESetupPaths )
|
|
|
|
|