aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildMsgpack.cmake
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-03-05 15:21:46 +0100
committerGitHub <noreply@github.com>2023-03-05 15:21:46 +0100
commitf4d83ac1e22e55a12895e5945680d90ee7c09b85 (patch)
tree7090570a1c4b7fa8a6a12d527c50e0630baa39d9 /cmake.deps/cmake/BuildMsgpack.cmake
parent07758587037de1c8a4c45f1b39722ae73522c6bd (diff)
downloadrneovim-f4d83ac1e22e55a12895e5945680d90ee7c09b85.tar.gz
rneovim-f4d83ac1e22e55a12895e5945680d90ee7c09b85.tar.bz2
rneovim-f4d83ac1e22e55a12895e5945680d90ee7c09b85.zip
build: consistently use the provided option paths
We provide options such as "DEPS_BIN_DIR" for the user to set, but only sometimes use them. This makes binaries and other files to be spread out if the user defines a custom DEPS_BIN_DIR location.
Diffstat (limited to 'cmake.deps/cmake/BuildMsgpack.cmake')
-rw-r--r--cmake.deps/cmake/BuildMsgpack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake
index 82993c265d..c9033be1ae 100644
--- a/cmake.deps/cmake/BuildMsgpack.cmake
+++ b/cmake.deps/cmake/BuildMsgpack.cmake
@@ -11,7 +11,7 @@ ExternalProject_Add(msgpack
if (NOT MSVC)
add_custom_target(clean_shared_libraries_msgpack ALL
COMMAND ${CMAKE_COMMAND}
- -D REMOVE_FILE_GLOB=${DEPS_INSTALL_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}*${CMAKE_SHARED_LIBRARY_SUFFIX}*
+ -D REMOVE_FILE_GLOB=${DEPS_LIB_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}*${CMAKE_SHARED_LIBRARY_SUFFIX}*
-P ${PROJECT_SOURCE_DIR}/cmake/RemoveFiles.cmake)
add_dependencies(clean_shared_libraries_msgpack msgpack)
endif()