From 83e5f01fe0be2b78195d20fc54afc739bdc3069c Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Fri, 28 Sep 2018 19:28:59 +0200 Subject: [PATCH] Specify the dependency differently to (try to) appease CMake 3.12 --- demo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 6699f12..9fc9571 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -7,7 +7,7 @@ add_custom_command( # if the cpp file is marked GENERATED, CMake will not check it for moc # "${CMAKE_CURRENT_SOURCE_DIR}/src/Bindings.cpp" COMMAND ${RustQtBindingGenerator_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/bindings.json" - DEPENDS ${RustQtBindingGenerator_EXECUTABLE} bindings.json + DEPENDS rust_qt_binding_generator bindings.json ) # compile the rust code into a static library