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.
This commit is contained in:
André Althaus
2024-10-01 18:25:35 +02:00
committed by Chris Hennes
parent b7021452b5
commit 32db9410e4

View File

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