mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-28 05:06:42 +00:00
CMake: Check WIN32
instead of CMAKE_SYSTEM_NAME STREQUAL Windows
This commit is contained in:
parent
d32e47cfde
commit
56fcc97f6d
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue