mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
cmake: include(Find…)->find_package(…)
This commit is contained in:
parent
63011f1402
commit
875563787f
3 changed files with 20 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue