1
0
mirror of synced 2024-11-28 09:30:51 +01:00

build: Use different method of enforcing nethost.h

This commit is contained in:
WerWolv 2023-11-19 16:11:17 +01:00
parent f9073ee8ee
commit de3e92e21b

View File

@ -79,5 +79,5 @@ if (CoreClrEmbed_INCLUDE_DIR AND CoreClrEmbed_LIBRARY)
set(CoreClrEmbed_SHARED_LIBRARIES "${CoreClrEmbed_SHARED_LIBRARY}") set(CoreClrEmbed_SHARED_LIBRARIES "${CoreClrEmbed_SHARED_LIBRARY}")
set(CoreClrEmbed_INCLUDE_DIRS "${CoreClrEmbed_INCLUDE_DIR}") set(CoreClrEmbed_INCLUDE_DIRS "${CoreClrEmbed_INCLUDE_DIR}")
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CoreClrEmbed_INCLUDE_DIR}/nethost.h") configure_file("${CoreClrEmbed_INCLUDE_DIR}/nethost.h" "${CMAKE_CURRENT_BINARY_DIR}/nethost.h" COPYONLY)
endif() endif()