From d2a88cfaad5ac385fc3c6212c09ad7fbc38e9454 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Mon, 28 May 2012 14:15:52 +0000 Subject: merged with release_2_0 --- muse2/synti/simpledrums2/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'muse2/synti/simpledrums2/CMakeLists.txt') diff --git a/muse2/synti/simpledrums2/CMakeLists.txt b/muse2/synti/simpledrums2/CMakeLists.txt index 172ce616..744023ea 100644 --- a/muse2/synti/simpledrums2/CMakeLists.txt +++ b/muse2/synti/simpledrums2/CMakeLists.txt @@ -75,13 +75,15 @@ set (FILES_TO_TRANSLATE # - use precompiled header files # -if ( x${CMAKE_BUILD_TYPE} STREQUAL xrelease ) - SET(SIMPLEDRUMS_OPTFLAGS "-O6") -endif ( x${CMAKE_BUILD_TYPE} STREQUAL xrelease ) +# Don't override the default optimization. Can be reconsidered +# according to Mathias' feedback. - Orcan 2012-05-20 +#if ( x${CMAKE_BUILD_TYPE} STREQUAL xrelease ) +# SET(SIMPLEDRUMS_OPTFLAGS "-O6") +#endif ( x${CMAKE_BUILD_TYPE} STREQUAL xrelease ) set_target_properties ( simpledrums PROPERTIES PREFIX "" - COMPILE_FLAGS "${SIMPLEDRUMS_OPTFLAGS} -fvisibility=hidden -include ${PROJECT_BINARY_DIR}/all-pic.h" + COMPILE_FLAGS "-fvisibility=hidden -include ${PROJECT_BINARY_DIR}/all-pic.h" ) ## -- cgit v1.2.3