summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2018-08-14 12:08:52 +0200
committerSlávek Banko <[email protected]>2018-09-01 19:02:10 +0200
commitc8b3639181b3a3ac517c09e4f51cbe08d8caf4d0 (patch)
tree3f1bd7417433de022aefb87b5be4c8231fab2a12 /CMakeLists.txt
parent4af09b9ac98a905ebfdb968674632b2f8fd9e212 (diff)
downloadtdeadmin-c8b3639181b3a3ac517c09e4f51cbe08d8caf4d0.tar.gz
tdeadmin-c8b3639181b3a3ac517c09e4f51cbe08d8caf4d0.zip
cosmetic in CMakeLists.txt
(cherry picked from commit ccdb7527d79725837a6954c2eef88d727598f3bf)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 7 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b7fa37..2e4f81c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,10 +17,10 @@ set( VERSION R14.0.4 )
#### include essential cmake modules
-include( FindPkgConfig )
-include( CheckIncludeFile )
-include( CheckLibraryExists )
-include( CheckCSourceCompiles )
+include( FindPkgConfig )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
@@ -43,7 +43,7 @@ tde_setup_paths( )
##### user requested modules #####
-option( BUILD_ALL "Build all" OFF )
+option( BUILD_ALL "Build all" OFF )
option( BUILD_DOC "Build doc" ${BUILD_ALL} )
option( BUILD_KCRON "Build kcron" ${BUILD_ALL} )
option( BUILD_KDAT "Build kdat" ${BUILD_ALL} )
@@ -63,9 +63,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
-add_definitions(
- -DHAVE_CONFIG_H
-)
+add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
@@ -75,7 +73,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### @TDE_MODULE_NAME@ directories
tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_KCRON kcron )
+tde_conditional_add_subdirectory( BUILD_KCRON kcron )
tde_conditional_add_subdirectory( BUILD_KDAT kdat )
tde_conditional_add_subdirectory( BUILD_KNETWORKCONF knetworkconf )
tde_conditional_add_subdirectory( BUILD_KPACKAGE kpackage )