summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2009-12-22 13:55:58 +0000
committerWerner Schweer <ws.seh.de>2009-12-22 13:55:58 +0000
commit5d5fa0fdf913907edbc3d2d29a7548f0cb658c94 (patch)
tree03886e8ad57f00fc93b0a476de03f09bdfe73744
parent1607e34a422361b9c45430f2803b618b082d2a07 (diff)
build updates
-rw-r--r--muse/CMakeLists.txt8
-rw-r--r--muse/grepmidi/grepmidi.cpp4
-rw-r--r--muse/share/CMakeLists.txt2
3 files changed, 7 insertions, 7 deletions
diff --git a/muse/CMakeLists.txt b/muse/CMakeLists.txt
index 2286d40b..2d0f8a98 100644
--- a/muse/CMakeLists.txt
+++ b/muse/CMakeLists.txt
@@ -35,10 +35,6 @@ endif (NOT CMAKE_INSTALL_LIBDIR)
# for debugging the make system uncomment next line:
# set(CMAKE_VERBOSE_MAKEFILE ON)
-set(CMAKE_CXX_FLAGS "-Wall -Wextra -Winvalid-pch -fno-exceptions")
-set(CMAKE_CXX_FLAGS_RELEASE "-O2 -fomit-frame-pointer -ffast-math -fstrength-reduce")
-set(CMAKE_CXX_FLAGS_DEBUG "-g -DQT_DEBUG")
-
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
set(CMAKE_SKIP_RULE_DEPENDENCY TRUE)
@@ -331,5 +327,9 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
INCLUDE(CPack)
ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
+set(CMAKE_CXX_FLAGS "-Wl,-rpath,${QT_LIBRARY_DIR} -Wall -Wextra -Winvalid-pch -fno-exceptions")
+set(CMAKE_CXX_FLAGS_RELEASE "-O2 -fomit-frame-pointer -ffast-math -fstrength-reduce")
+set(CMAKE_CXX_FLAGS_DEBUG "-g -DQT_DEBUG")
+
subdirs(al awl grepmidi plugins midiplugins muse share synti)
diff --git a/muse/grepmidi/grepmidi.cpp b/muse/grepmidi/grepmidi.cpp
index d5d68a4d..5e8a4f62 100644
--- a/muse/grepmidi/grepmidi.cpp
+++ b/muse/grepmidi/grepmidi.cpp
@@ -35,7 +35,7 @@
int cpos;
bool printName = false;
-const char* curName;
+char* curName;
//---------------------------------------------------------
// readLong
@@ -277,7 +277,7 @@ int grep(FILE* f)
// grep
//---------------------------------------------------------
-int grepMidi(const char* name)
+int grepMidi(char* name)
{
curName = name;
char*p = strrchr(name, '.');
diff --git a/muse/share/CMakeLists.txt b/muse/share/CMakeLists.txt
index e9e24a12..bd87dd86 100644
--- a/muse/share/CMakeLists.txt
+++ b/muse/share/CMakeLists.txt
@@ -18,5 +18,5 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-subdirs( instruments locale plugins templates wallpapers locale)
+subdirs( instruments locale plugins templates wallpapers)