summaryrefslogtreecommitdiff
path: root/muse2/synti/libsynti
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-12 10:30:39 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-12 10:30:39 +0000
commitcf0828dc76ddc11de107bc65ddada38d03404030 (patch)
tree2c56dd018886f2332330d4c98a46b05a23a3ab14 /muse2/synti/libsynti
parenta4d6602deb9e55720659df425664c554be6e4a7a (diff)
Translations are now handled by cmake. Updated the Russian translation. Added -l flag to override system locale.
Diffstat (limited to 'muse2/synti/libsynti')
-rw-r--r--muse2/synti/libsynti/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/muse2/synti/libsynti/CMakeLists.txt b/muse2/synti/libsynti/CMakeLists.txt
index 6f72b31c..94137c70 100644
--- a/muse2/synti/libsynti/CMakeLists.txt
+++ b/muse2/synti/libsynti/CMakeLists.txt
@@ -20,8 +20,7 @@
include(${PROJECT_SOURCE_DIR}/pch.txt)
-add_library(synti
- ${PROJECT_BINARY_DIR}/all-pic.h.pch
+file (GLOB SOURCE_FILES
mess.cpp
# mess2.cpp
gui.cpp
@@ -32,6 +31,13 @@ add_library(synti
## mpevent.cpp
)
+add_library(synti
+ ${PROJECT_BINARY_DIR}/all-pic.h.pch
+ ${SOURCE_FILES}
+ )
+
+set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} CACHE INTERNAL "")
+
#
# -fPIC is necessary for 64 bit systems
#