Browse Source

Use common CMake tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 1 year ago
parent
commit
95550df7df
Signed by: SlavekB <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
1 changed files with 0 additions and 14 deletions
  1. +0
    -14
      CMakeLists.txt

+ 0
- 14
CMakeLists.txt View File

@@ -31,20 +31,6 @@ include( TDEMacros )

##### find required stuff #######################

include( FindGettext )
if( GETTEXT_FOUND )
set( DEFAULT_MSGFMT_EXECUTABLE ${GETTEXT_MSGFMT_EXECUTABLE} )
else( GETTEXE_FOUND )
find_program( DEFAULT_MSGFMT_EXECUTABLE msgfmt )
endif( GETTEXT_FOUND )

set( MSGFMT_EXECUTABLE ${DEFAULT_MSGFMT_EXECUTABLE} CACHE FILEPATH
"path to msgfmt executable" )

if( NOT MSGFMT_EXECUTABLE )
tde_message_fatal( "msgfmt is required but was not found on your system or defined" )
endif( NOT MSGFMT_EXECUTABLE )

find_package( TDE )




Loading…
Cancel
Save