mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-04 00:21:18 +00:00
CMake: Check WIN32
instead of CMAKE_SYSTEM_NAME STREQUAL Windows
This commit is contained in:
parent
d32e47cfde
commit
56fcc97f6d
@ -299,7 +299,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
target_link_libraries(common PUBLIC dl rt)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
if(WIN32)
|
||||
target_sources(common PRIVATE HRWrap.h HRWrap.cpp)
|
||||
endif()
|
||||
|
||||
|
@ -2,7 +2,7 @@ add_subdirectory(OGL)
|
||||
add_subdirectory(Null)
|
||||
add_subdirectory(Software)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
if(WIN32)
|
||||
add_subdirectory(D3DCommon)
|
||||
add_subdirectory(D3D)
|
||||
add_subdirectory(D3D12)
|
||||
|
Loading…
Reference in New Issue
Block a user