build: avoid CMP0046 "dependency target does not exist" #8128

This commit is contained in:
Justin M. Keyes
2018-03-18 23:24:37 +01:00
parent c49dac7cd3
commit 1fb44676cd
2 changed files with 7 additions and 1 deletions

View File

@@ -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(