From 71667e00f55f9ed037403b20053701ea0641715c Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 23 Jul 2026 00:08:23 -0300 Subject: [PATCH 1/2] Swap order of runtime and RT64 includes. --- recompui/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recompui/CMakeLists.txt b/recompui/CMakeLists.txt index b9c5458..251b5fc 100644 --- a/recompui/CMakeLists.txt +++ b/recompui/CMakeLists.txt @@ -77,6 +77,13 @@ target_include_directories(recompui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/util ${CMAKE_CURRENT_SOURCE_DIR}/lib/RmlUi/Include ${CMAKE_CURRENT_SOURCE_DIR}/lib/RmlUi/Backends + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/librecomp/include + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/N64Recomp/include + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/ultramodern/include + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty/concurrentqueue + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty/miniz + ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty/sse2neon ${RECOMP_FRONTEND_RT64_PATH}/include ${RECOMP_FRONTEND_RT64_PATH}/src/contrib ${RECOMP_FRONTEND_RT64_PATH}/src/contrib/hlslpp/include @@ -86,13 +93,6 @@ target_include_directories(recompui PUBLIC ${RECOMP_FRONTEND_RT64_PATH}/src/render ${RECOMP_FRONTEND_RT64_PATH}/src/contrib/nativefiledialog-extended/src/include ${RECOMP_FRONTEND_RT64_PATH}/src/contrib/plume - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/librecomp/include - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/N64Recomp/include - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/ultramodern/include - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty/concurrentqueue - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty/miniz - ${RECOMP_FRONTEND_N64MODERNRUNTIME_PATH}/thirdparty/sse2neon ${CMAKE_BINARY_DIR}/shaders ) From d0d90ba49f46f4896aaeda362056c21b1e342561 Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 23 Jul 2026 00:33:00 -0300 Subject: [PATCH 2/2] Add __PRFCHWINTRIN_H. --- recompui/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recompui/CMakeLists.txt b/recompui/CMakeLists.txt index 251b5fc..4dce8e0 100644 --- a/recompui/CMakeLists.txt +++ b/recompui/CMakeLists.txt @@ -50,7 +50,10 @@ SET(RMLUI_TESTS_ENABLED OFF CACHE BOOL "" FORCE) SET(LUNASVG_BUILD_STATIC ON CACHE BOOL "" FORCE) set(RT64_STATIC TRUE) set(RT64_SDL_WINDOW_VULKAN TRUE) -add_compile_definitions(HLSL_CPU) +add_compile_definitions( + HLSL_CPU + __PRFCHWINTRIN_H +) add_subdirectory(lib/RmlUi) target_compile_definitions(rmlui_core PRIVATE LUNASVG_BUILD_STATIC)