We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56721a8 commit 9278290Copy full SHA for 9278290
libvisual/CMakeLists.txt
@@ -292,13 +292,13 @@ ADD_SUBDIRECTORY(libvisual)
292
# Uninstallation (script copied from CMake FAQ)
293
294
CONFIGURE_FILE(
295
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
296
- "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ "${PROJECT_SOURCE_DIR}/cmake_uninstall.cmake.in"
+ "${PROJECT_BINARY_DIR}/cmake_uninstall.cmake"
297
IMMEDIATE @ONLY
298
)
299
300
ADD_CUSTOM_TARGET(uninstall
301
- "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ "${CMAKE_COMMAND}" -P "${PROJECT_BINARY_DIR}/cmake_uninstall.cmake"
302
303
304
# Packaging
0 commit comments