[Marble-commits] branches/KDE/4.3/kdeedu/marble
Patrick Spendrin
ps_ml at gmx.de
Tue Jul 14 15:45:51 CEST 2009
SVN commit 996491 by sengels:
only add the uninstall target for qt-only builds
backport r996490
M +9 -6 CMakeLists.txt
--- branches/KDE/4.3/kdeedu/marble/CMakeLists.txt #996490:996491
@@ -270,10 +270,13 @@
############################################################
# Uninstall stuff
-CONFIGURE_FILE(
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake_templates/cmake_uninstall.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
- IMMEDIATE @ONLY)
+if(QTONLY)
+ # only add the uninstall target for qt-only builds
+ CONFIGURE_FILE(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake_templates/cmake_uninstall.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ IMMEDIATE @ONLY)
-ADD_CUSTOM_TARGET(uninstall
- "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
+ ADD_CUSTOM_TARGET(uninstall
+ "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
+endif(QTONLY)
\ No newline at end of file
More information about the Marble-commits
mailing list