summaryrefslogtreecommitdiff
path: root/muse2/synti/libsynti/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/libsynti/CMakeLists.txt')
-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
#