Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions recompui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -77,6 +80,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
Expand All @@ -86,13 +96,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
)

Expand Down