summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-23 12:36:06 +0900
committerMavridis Philippe <mavridisf@gmail.com>2024-03-24 23:17:06 +0200
commit341a38ba101216f8b544cc653416d6e2e6b6d34e (patch)
tree6b519900aaedb621fae20842152e86c745c2b688 /ConfigureChecks.cmake
parentfd62635a2792b5cbbbae1c5288992af0054332ee (diff)
downloadtde-style-polyester-341a38ba101216f8b544cc653416d6e2e6b6d34e.tar.gz
tde-style-polyester-341a38ba101216f8b544cc653416d6e2e6b6d34e.zip
1. Replace inkscape with rsvg-convert (this idea comes from a patch in the original debian packaging files).
2. All png images and the associated `button.h` file are generate at build time. 3. Make `create-buttons.sh` work for out-of-source builds. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 3117295..5d2b2d7 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -24,3 +24,10 @@ tde_setup_largefiles( )
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY )
+
+
+##### checks for rsvg-convert
+find_program( RSVG_COMMAND NAMES "rsvg-convert" )
+if( NOT RSVG_COMMAND )
+ tde_message_fatal( "svg codec was requested but rsvg-convert not found on your system" )
+endif( )