diff options
author | dundargoc <gocdundar@gmail.com> | 2024-06-28 18:56:13 +0000 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-07-02 12:16:23 +0200 |
commit | 9216bc927c00867e9251bbdd46d6308ebbd9935b (patch) | |
tree | 8d0c3e66f52f2853b9b1ee71f6ee6df0815e98bf | |
parent | 8f5e90811025bcc652146168d5116f8d73fe8f81 (diff) | |
download | rneovim-9216bc927c00867e9251bbdd46d6308ebbd9935b.tar.gz rneovim-9216bc927c00867e9251bbdd46d6308ebbd9935b.tar.bz2 rneovim-9216bc927c00867e9251bbdd46d6308ebbd9935b.zip |
build(deps): fix formatc target on MSVC
Set CMAKE_RUNTIME_OUTPUT_DIRECTORY for CMAKE_ARGS for the uncrustify
ExternalProject to point to DEPS_BIN_DIR because the uncrustify cmake
sources do not install to DESTDIR/bin under MSVC but to DESTDIR.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b070fef21..65cf3d517a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -307,6 +307,7 @@ get_externalproject_options(uncrustify ${DEPS_IGNORE_SHA}) ExternalProject_Add(uncrustify DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/uncrustify CMAKE_ARGS ${DEPS_CMAKE_ARGS} + -D CMAKE_RUNTIME_OUTPUT_DIRECTORY=${DEPS_BIN_DIR} EXCLUDE_FROM_ALL TRUE ${EXTERNALPROJECT_OPTIONS}) |