summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-25 13:46:19 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 18:41:35 +0200
commit78e39d59137bcfe1a90e53e8f4c0342d8e0939fd (patch)
tree806704a441f2cd4327e5b57e51a588f7eb43da0f /ConfigureChecks.cmake
parent97d4b2ac8a12434239bafab49dbb19295e5f089b (diff)
downloadtdeadmin-78e39d59137bcfe1a90e53e8f4c0342d8e0939fd.tar.gz
tdeadmin-78e39d59137bcfe1a90e53e8f4c0342d8e0939fd.zip
cmake kuser: Remove the ldap library linking
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake14
1 files changed, 9 insertions, 5 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 27bd908..b5f556f 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -6,6 +6,15 @@
#
#################################################
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+tde_setup_architecture_flags( )
+
+
+##### check for gcc visibility support #########
+
if( WITH_GCC_VISIBILITY )
if( NOT UNIX )
tde_message_fatal( "gcc visibility support was requested, but your system is not *NIX" )
@@ -16,8 +25,6 @@ if( WITH_GCC_VISIBILITY )
endif( WITH_GCC_VISIBILITY )
-tde_setup_architecture_flags( )
-
#### check for headers
check_include_file( "unistd.h" HAVE_UNISTD_H )
check_include_file( "sys/stat.h" HAVE_SYS_STAT_H )
@@ -55,6 +62,3 @@ check_include_file( "sys/stropts.h" HAVE_SYS_STROPTS_H )
check_include_file( "sys/time.h" HAVE_SYS_TIME_H )
check_include_file( "sys/types.h" HAVE_SYS_TYPES_H )
-# required stuff
-find_package( TQt )
-find_package( TDE )