Skip to content

Commit

Permalink
Don't visit po/ at all when translations are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Oct 8, 2013
1 parent b7c4039 commit 6b53813
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ ENDIF (WIN32)
ADD_SUBDIRECTORY(src)

# Add data packages
FIND_PACKAGE(Gettext)
ADD_SUBDIRECTORY(po)
IF(NOT DISABLE_TRANSLATIONS)
FIND_PACKAGE(Gettext)
ADD_SUBDIRECTORY(po)
ENDIF(NOT DISABLE_TRANSLATIONS)

# CPack installation part
If(UNIX)
Expand Down

0 comments on commit 6b53813

Please sign in to comment.