Skip to content

Commit

Permalink
build: Re-add librashader headers to source tree for Linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jcm93 committed Feb 3, 2025
1 parent 0eb325a commit 808c9de
Show file tree
Hide file tree
Showing 4 changed files with 3,877 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-subtrees.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ git subtree pull --prefix=thirdparty/sljit https://github.com/zherczeg/sljit.git
git subtree pull --prefix=thirdparty/libchdr https://github.com/rtissera/libchdr master --squash
git subtree pull --prefix=thirdparty/librashader https://github.com/SnowflakePowered/librashader master --squash
git subtree pull --prefix=thirdparty/slang-shaders https://github.com/libretro/slang-shaders master --squash
git subtree pull --prefix=thirdparty/ymfm https://github.com/aaronsgiles/ymfm main --squash
git subtree pull --prefix=thirdparty/ymfm https://github.com/aaronsgiles/ymfm main --squash
4 changes: 4 additions & 0 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ target_include_directories(ymfm PUBLIC ../thirdparty/ymfm/src)

target_compile_options(ymfm PRIVATE $<$<CXX_COMPILER_ID:Clang,AppleClang>:-Wno-unreachable-code>)

if(OS_LINUX OR OS_FREEBSD OR OS_OPENBSD)
list(APPEND CMAKE_PREFIX_PATH librashader/include)
endif()

set_target_properties(ymfm PROPERTIES FOLDER thirdparty PREFIX "")
set_target_properties(tzxfile PROPERTIES FOLDER thirdparty PREFIX "")
set_target_properties(chdr-static PROPERTIES FOLDER thirdparty PREFIX "")
Expand Down
Loading

0 comments on commit 808c9de

Please sign in to comment.