|
|
@ -10,15 +10,19 @@
|
|
|
|
############################################
|
|
|
|
############################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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( smb4k )
|
|
|
|
project( smb4k )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### include essential cmake modules
|
|
|
|
##### include essential cmake modules
|
|
|
|
|
|
|
|
|
|
|
|
include( FindPkgConfig )
|
|
|
|
include( FindPkgConfig )
|
|
|
|
include( CheckSymbolExists )
|
|
|
|
include( CheckSymbolExists )
|
|
|
@ -29,16 +33,11 @@ include( CheckCXXSourceCompiles )
|
|
|
|
include( CheckTypeSize )
|
|
|
|
include( CheckTypeSize )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### include our cmake modules
|
|
|
|
##### include our cmake modules
|
|
|
|
|
|
|
|
|
|
|
|
include( TDEMacros )
|
|
|
|
include( TDEMacros )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### set version number
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tde_set_project_version( )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### setup install paths
|
|
|
|
##### setup install paths
|
|
|
|
|
|
|
|
|
|
|
|
include( TDESetupPaths )
|
|
|
|
include( TDESetupPaths )
|
|
|
|