1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-22 17:35:29 +00:00

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()