mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-04 22:18:53 +00:00
Unify Linux detection in CMake
This commit is contained in:
parent
311cd0ce76
commit
4d3b60cf46
2 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ include_directories(3rdparty/hidapi/hidapi)
|
|||
if(APPLE)
|
||||
add_subdirectory(3rdparty/hidapi/mac EXCLUDE_FROM_ALL)
|
||||
#list(APPEND LIBS hidapi)
|
||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
elseif(CMAKE_SYSTEM MATCHES "Linux")
|
||||
add_subdirectory(3rdparty/hidapi/linux EXCLUDE_FROM_ALL)
|
||||
elseif(MSVC)
|
||||
add_subdirectory(3rdparty/hidapi/windows EXCLUDE_FROM_ALL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue