cmake: include(Find…)->find_package(…)

This commit is contained in:
Florent Castelli
2017-01-17 21:32:55 +01:00
parent 63011f1402
commit 875563787f
3 changed files with 20 additions and 27 deletions

View File

@ -114,7 +114,7 @@ endif()
set(DOLPHIN_EXE ${DOLPHIN_EXE_BASE})
include(FindGettext)
find_package(Gettext)
if(GETTEXT_MSGMERGE_EXECUTABLE AND GETTEXT_MSGFMT_EXECUTABLE AND wxWidgets_FOUND)
file(GLOB LINGUAS ${CMAKE_SOURCE_DIR}/Languages/po/*.po)
add_custom_target(translations ALL)