fix-rc-build.patch 782 B

1234567891011121314151617181920212223
  1. From fd5f8106a58601a963ee816e6a57aa7c61fafc53 Mon Sep 17 00:00:00 2001
  2. From: BadWolf <[email protected]>
  3. Date: Sat, 6 Apr 2024 00:05:58 +0200
  4. Subject: [PATCH] fix missing include folder for resource compiler
  5. ---
  6. build/cmake/lib/CMakeLists.txt | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt
  9. index 5d514ccb2e9..43b14d1753b 100644
  10. --- a/build/cmake/lib/CMakeLists.txt
  11. +++ b/build/cmake/lib/CMakeLists.txt
  12. @@ -118,7 +118,7 @@ endmacro ()
  13. # Define directories containing the library's public headers
  14. set(PUBLIC_INCLUDE_DIRS ${LIBRARY_DIR})
  15. -
  16. +set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} /I ${LIBRARY_DIR}")
  17. # Split project to static and shared libraries build
  18. set(library_targets)
  19. if (ZSTD_BUILD_SHARED)