mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
build: Use different method of enforcing nethost.h
This commit is contained in:
@@ -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()
|
||||||
Reference in New Issue
Block a user