From 981ae5067c91cf4c3a6ce65b864873c3aa4d2b0c Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 19 Nov 2023 12:03:17 +0100 Subject: [PATCH] build: Try force reconfiguring when nethost header isn't found --- cmake/modules/FindCoreClrEmbed.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/modules/FindCoreClrEmbed.cmake b/cmake/modules/FindCoreClrEmbed.cmake index 41ea53a70..34e581f75 100644 --- a/cmake/modules/FindCoreClrEmbed.cmake +++ b/cmake/modules/FindCoreClrEmbed.cmake @@ -78,4 +78,6 @@ if (CoreClrEmbed_INCLUDE_DIR AND CoreClrEmbed_LIBRARY) set(CoreClrEmbed_LIBRARIES "${CoreClrEmbed_LIBRARY}") set(CoreClrEmbed_SHARED_LIBRARIES "${CoreClrEmbed_SHARED_LIBRARY}") set(CoreClrEmbed_INCLUDE_DIRS "${CoreClrEmbed_INCLUDE_DIR}") + + set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CoreClrEmbed_INCLUDE_DIR}/nethost.h") endif() \ No newline at end of file