diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2008-11-28 01:53:45 +0100 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2008-11-28 01:53:45 +0100 |
| commit | daa195f3c8ef8aebd14c52aaeb2f2433122bffe4 (patch) | |
| tree | 514b508bd13395fe7bfe9e13ceef3e670b55b05e /data/font/CMakeLists.txt | |
| parent | 6a09ebc5e0310480b72640d8a07c2e2d3400660d (diff) | |
Update font install only when we use our bundled font, otherwise we wont need it since we use system one.
Diffstat (limited to 'data/font/CMakeLists.txt')
| -rw-r--r-- | data/font/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/data/font/CMakeLists.txt b/data/font/CMakeLists.txt index 14e173b..b80d154 100644 --- a/data/font/CMakeLists.txt +++ b/data/font/CMakeLists.txt @@ -9,7 +9,9 @@ ############################################################################### IF ( NOT Server ) FILE ( GLOB files "*.ttf" ) - INSTALL ( FILES ${files} - DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/font/ ) + IF ( IF "${CMAKE_FONT}" EQUAL "${CMAKE_DATA_PATH}/${APPNAME}/font/DejaVuSans.ttf" ) + INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/font/ ) + ENDIF ( IF "${CMAKE_FONT}" EQUAL "${CMAKE_DATA_PATH}/${APPNAME}/font/DejaVuSans.ttf" ) ENDIF ( NOT Server ) -###############################################################################
\ No newline at end of file +############################################################################### |