Fix WINDOWS -> WIN32 on cmake

This commit is contained in:
Adrian Graber 2021-07-05 20:52:00 +02:00
parent a247d53367
commit b09b489ae7

View file

@ -130,7 +130,7 @@ else()
set(${PROJECT}_C_CXX_EXTENSIONS OFF) set(${PROJECT}_C_CXX_EXTENSIONS OFF)
endif() endif()
if(NOT (WINDOWS OR APPLE OR NINTENDO_SWITCH)) if(NOT (WIN32 OR APPLE OR NINTENDO_SWITCH))
find_package(X11 REQUIRED) find_package(X11 REQUIRED)
target_link_libraries(${EXECUTABLE} PRIVATE X11::X11) target_link_libraries(${EXECUTABLE} PRIVATE X11::X11)
endif() endif()