- boost rebuild
[packages/avogadro.git] / avogadro-cmake.patch
1 diff -ur avogadro-1.0.3/CMakeLists.txt avogadro-1.0.3-mkspecs-dir/CMakeLists.txt
2 --- avogadro-1.0.3/CMakeLists.txt       2011-04-25 07:29:58.000000000 +0200
3 +++ avogadro-1.0.3-mkspecs-dir/CMakeLists.txt   2011-04-27 02:42:26.000000000 +0200
4 @@ -491,7 +491,7 @@
5  if(QT_MKSPECS_DIR AND INSTALL_QMAKE_PRF)
6      install(FILES
7        "${CMAKE_CURRENT_BINARY_DIR}/avogadro.prf"
8 -      DESTINATION "${CMAKE_INSTALL_PREFIX}/${QT_MKSPECS_RELATIVE}/features"
9 +      DESTINATION "${QT_MKSPECS_DIR}/features"
10      )
11  else(QT_MKSPECS_DIR AND INSTALL_QMAKE_PRF)
12    message(WARNING "Qt mkspecs directory not found. File 'avogadro.prf' will be installed to ${SHARE_INSTALL_PREFIX}/avogadro/qmake.")
13 diff -ur avogadro-1.0.3/CMakeLists.txt avogadro-1.0.3-no-strip/CMakeLists.txt
14 --- avogadro-1.0.3/CMakeLists.txt       2011-04-25 07:29:58.000000000 +0200
15 +++ avogadro-1.0.3-no-strip/CMakeLists.txt      2011-04-27 18:44:02.000000000 +0200
16 @@ -98,7 +98,7 @@
17         endif (NOT APPLE)
18    # Set up additional build flags for particular build types. These will be added to CMAKE_CXX_FLAGS,
19    # they will not replace them.
20 -  set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT -Wl,-s")
21 +  set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT")
22    set(CMAKE_CXX_FLAGS_RELWITHDEBINFO
23      "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${CMAKE_CXX_FLAGS_WARN}")
24    set(CMAKE_CXX_FLAGS_DEBUG   "-g3 -fno-inline ${CMAKE_CXX_FLAGS_WARN}")
This page took 0.137968 seconds and 3 git commands to generate.