mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 09:39:55 +00:00
CMake: LLVM, Pulse, Alsa and libevdev being disabled
- These dependencies have #defines which enable code related to them in rpcs3 and rpcs3_ui targets. They are only used in rpcs3_emu but HAVE_* defines have to be defined in rpcs3 and rpcs3_ui targets also, so they have to have PUBLIC visibility so defines carried over CMake: Fix Alsa and Pulse audios being disabled - HAVE_PULSE and HAVE_ALSA were not defined in rpcs3 target Fixup libevdev
This commit is contained in:
parent
d6dc1493cb
commit
566c88802e
@ -4,7 +4,9 @@ add_library(rpcs3_emu ${SRC_FILES})
|
|||||||
|
|
||||||
target_link_libraries(rpcs3_emu
|
target_link_libraries(rpcs3_emu
|
||||||
PRIVATE
|
PRIVATE
|
||||||
3rdparty::zlib 3rdparty::yaml-cpp)
|
3rdparty::zlib 3rdparty::yaml-cpp
|
||||||
|
PUBLIC
|
||||||
|
3rdparty::libevdev)
|
||||||
|
|
||||||
# For stdafx.h
|
# For stdafx.h
|
||||||
target_include_directories(rpcs3_emu
|
target_include_directories(rpcs3_emu
|
||||||
@ -45,7 +47,7 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(rpcs3_emu
|
target_link_libraries(rpcs3_emu
|
||||||
PRIVATE
|
PUBLIC
|
||||||
3rdparty::alsa 3rdparty::pulse 3rdparty::openal)
|
3rdparty::alsa 3rdparty::pulse 3rdparty::openal)
|
||||||
|
|
||||||
|
|
||||||
@ -71,7 +73,7 @@ file(GLOB_RECURSE CPU_SRC_FILES "CPU/*.cpp")
|
|||||||
target_sources(rpcs3_emu PRIVATE ${CPU_SRC_FILES})
|
target_sources(rpcs3_emu PRIVATE ${CPU_SRC_FILES})
|
||||||
|
|
||||||
target_link_libraries(rpcs3_emu
|
target_link_libraries(rpcs3_emu
|
||||||
PRIVATE 3rdparty::llvm 3rdparty::asmjit)
|
PUBLIC 3rdparty::llvm 3rdparty::asmjit)
|
||||||
|
|
||||||
|
|
||||||
# Io
|
# Io
|
||||||
|
Loading…
x
Reference in New Issue
Block a user