From 620ddf96993b7cbbca472719ca890ca01634c69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 17 Nov 2015 19:27:16 +0100 Subject: [PATCH] fix static build --- CMakeLists.txt | 2 +- base/app/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 51e6b072cb..7a7a1714cb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(APPNAME "i-score") set(ISCORE_VERSION_MAJOR 1) set(ISCORE_VERSION_MINOR 0) set(ISCORE_VERSION_PATCH 0) -set(ISCORE_VERSION_EXTRA a26) +set(ISCORE_VERSION_EXTRA a27) set(ISCORE_CODENAME "Koujoukoujoukou") set(ISCORE_VERSION "${ISCORE_VERSION_MAJOR}.${ISCORE_VERSION_MINOR}.${ISCORE_VERSION_PATCH}-${ISCORE_VERSION_EXTRA}") diff --git a/base/app/main.cpp b/base/app/main.cpp index 47f867c9d9..9f86aa18af 100644 --- a/base/app/main.cpp +++ b/base/app/main.cpp @@ -21,7 +21,9 @@ int main(int argc, char** argv) Q_INIT_RESOURCE(iscore); Q_INIT_RESOURCE(ScenarioResources); Q_INIT_RESOURCE(AutomationResources); +#if defined(ISCORE_PLUGIN_MAPPING) Q_INIT_RESOURCE(MappingResources); +#endif Q_INIT_RESOURCE(DeviceExplorer); #endif #if defined(ISCORE_OPENGL)