diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-14 21:16:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-14 21:16:16 +0400 |
commit | eef09b9cba900c15d9908615539728e028d77d03 (patch) | |
tree | 61c533ce9b807ffa62c021b4cf1a7ab40b029ff7 /source/blender/blenfont/CMakeLists.txt | |
parent | 47a41ad055f40a140b862499ca3955081e860a76 (diff) |
cmake changes
- set python to 3.1 on linux (dont use FindPackage for now)
- remove duplicate settings (disable cache for copied settings, was quite confusing)
- added an option WITH_INSTALL, when disabled scripts and language files wont be copied to the target dir (better for quick builds)
- remove .svn (was still CVS), and pyc/pyc files after copy
- copy the 'io' as well as 'ui'
Diffstat (limited to 'source/blender/blenfont/CMakeLists.txt')
-rw-r--r-- | source/blender/blenfont/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenfont/CMakeLists.txt b/source/blender/blenfont/CMakeLists.txt index aef655ca0d1..4784ce88dfc 100644 --- a/source/blender/blenfont/CMakeLists.txt +++ b/source/blender/blenfont/CMakeLists.txt @@ -29,9 +29,12 @@ SET(INC ../blenkernel ../../../extern/glew/include . ${FTGL_INC} ${FREETYPE_INC} - ${GETTEXT_INC} ) +IF(WITH_INTERNATIONAL) + SET(INC ${INC} ${GETTEXT_INC}) +ENDIF(WITH_INTERNATIONAL) + IF(WIN32) ADD_DEFINITIONS(-D_WIN32 -DUSE_GETTEXT_DLL) ENDIF(WIN32) |