From 1fb44676cd583fd9b5d8e4aff4db8d5ad954c2a5 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 18 Mar 2018 23:24:37 +0100 Subject: build: avoid CMP0046 "dependency target does not exist" #8128 --- src/nvim/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 0e174c3c61..5fb8b7fe0f 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -455,6 +455,8 @@ if(WIN32) COMMAND ${CMAKE_COMMAND} -E copy "${DEPS_PREFIX}/bin/platforms/qwindows.dll" ${PROJECT_BINARY_DIR}/windows_runtime_deps/platforms/ ) add_dependencies(nvim_runtime_deps external_blobs) +else() + add_custom_target(nvim_runtime_deps) # Stub target to avoid CMP0046. endif() add_library( -- cgit