--- CMakeLists.txt.orig 2011-07-02 13:14:01.000000000 +0000 +++ CMakeLists.txt 2011-10-23 07:48:40.000000000 +0000 @@ -356,7 +356,7 @@ # set compiler flags #SET(CMAKE_BUILD_TYPE relwithdebug) SET(CMAKE_C_FLAGS "-O2 -g -Wall ${CMAKE_C_FLAGS}") -SET(CMAKE_CXX_FLAGS "-O2 -g -fno-exceptions -Wall ${CMAKE_CXX_FLAGS}") +SET(CMAKE_CXX_FLAGS "-O2 -g -fno-exceptions -Wall -Wno-unused ${CMAKE_CXX_FLAGS}") #SET(CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_C_FLAGS}") #SET(CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_CXX_FLAGS}") @@ -462,7 +462,7 @@ ENDIF(NOT LMMS_BUILD_APPLE) INSTALL(TARGETS lmms RUNTIME DESTINATION bin) - INSTALL(FILES ${CMAKE_BINARY_DIR}/lmms.1.gz DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1/ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ) + INSTALL(FILES ${CMAKE_BINARY_DIR}/lmms.1.gz DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1/ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ) ENDIF(LMMS_BUILD_WIN32)