diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-09 10:27:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-11 08:41:51 +0900 |
| commit | ec3aadb3632f0951192973daa4e6380f0451a9de (patch) | |
| tree | d29064137559d4a3f115441585ba2a48b4253110 /ConfigureChecks.cmake | |
| parent | b531e449a935232235bfdf1c01e799ab40afaae0 (diff) | |
| download | kmyfirewall-ec3aadb3.tar.gz kmyfirewall-ec3aadb3.zip | |
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c5271c67110f7f37005e585f56bf061a236acb18)
Diffstat (limited to 'ConfigureChecks.cmake')
| -rw-r--r-- | ConfigureChecks.cmake | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..49ee485 --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,34 @@ +########################################### +# # +# Improvements and feedback are welcome # +# # +# This file is released under GPL >= 3 # +# # +########################################### + + +# required stuff +find_package( TQt ) +find_package( TDE ) + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +tde_setup_largefiles( ) + + +##### check for gcc visibility support + +if( WITH_GCC_VISIBILITY ) + tde_setup_gcc_visibility( ) +endif( WITH_GCC_VISIBILITY ) + + +##### check for supported OS + +if( NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" ) + tde_message_fatal( "KMyFirewall can only be built on Linux systems." ) +endif( ) + |
