Show
Ignore:
Timestamp:
02/21/09 14:57:20 (3 years ago)
Author:
Leo Antunes <leo@…>
Children:
0dcf20b290d256e042d559c2d8b8cdaf18ba6c13
Parents:
826d0d375e42d8e4018950dd84b37689b3f666fa
git-committer:
Leo Antunes <leo@…> (02/21/09 14:57:20)
Message:

fix gettext detection

i18n/CMakeLists.txt, CMakeLists.txt: move -DENABLE_NLS from i18n to root
i18n.h: remove cast to const to avoid warnings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r826d0d3 r5654745  
    2121 
    2222find_package(Gettext) 
    23 add_subdirectory(i18n) 
     23if(GETTEXT_FOUND) 
     24        add_definitions(-DENABLE_NLS) 
     25        add_subdirectory(i18n) 
     26endif() 
    2427 
    2528include(FeatureSummary)