From 32db9410e4df2483628d4adae143c3a00004ee67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Althaus?= Date: Tue, 1 Oct 2024 18:25:35 +0200 Subject: [PATCH] Remove the explicit dependency on Version.h from the fc_version target This caused problems witht the Makefile generator because it doesn't support the BYPRODUCTS option. --- src/Build/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Build/CMakeLists.txt b/src/Build/CMakeLists.txt index 4739ffb090..97e54000d6 100644 --- a/src/Build/CMakeLists.txt +++ b/src/Build/CMakeLists.txt @@ -20,7 +20,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Version.h) DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Version.h.in) set_source_files_properties(version_file PROPERTIES SYMBOLIC true) - ADD_CUSTOM_TARGET(fc_version DEPENDS version_file ${CMAKE_CURRENT_BINARY_DIR}/Version.h) + ADD_CUSTOM_TARGET(fc_version DEPENDS version_file) else (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Version.h)