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-02 21:31:00 -05:00
committed by Chris Hennes
parent dbf849a592
commit 5410d92eb1
+1 -1
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)