aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorclick <none@none>2010-10-07 21:34:13 +0200
committerclick <none@none>2010-10-07 21:34:13 +0200
commit8832254c6d93b8aebf0e34291c294a40d117d7e1 (patch)
tree29ed69076b214270b9f1f6ecd79eaa390f367c0f /cmake
parent28738448099a43400b60592d41396adf228ae68c (diff)
Buildsystem: Clean up uninstall-target files a bit
--HG-- branch : trunk
Diffstat (limited to 'cmake')
-rw-r--r--cmake/platform/osx/settings.cmake4
-rw-r--r--cmake/platform/unix/settings.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmake/platform/osx/settings.cmake b/cmake/platform/osx/settings.cmake
index 12a7eb193eb..734a9e5aa84 100644
--- a/cmake/platform/osx/settings.cmake
+++ b/cmake/platform/osx/settings.cmake
@@ -17,13 +17,13 @@ endif()
# configure uninstaller
configure_file(
"${CMAKE_SOURCE_DIR}/cmake/platform/cmake_uninstall.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY
)
message(STATUS "OSX: Configuring uninstall target")
# create uninstaller target (allows for using "make uninstall")
add_custom_target(uninstall
- "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
)
message(STATUS "OSX: Created uninstall target")
diff --git a/cmake/platform/unix/settings.cmake b/cmake/platform/unix/settings.cmake
index 5d30c280da3..e53e680a566 100644
--- a/cmake/platform/unix/settings.cmake
+++ b/cmake/platform/unix/settings.cmake
@@ -20,7 +20,7 @@ message(STATUS "UNIX: Configuring uninstall target")
# create uninstaller target (allows for using "make uninstall")
add_custom_target(uninstall
- "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
)
message(STATUS "UNIX: Created uninstall target")