summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Graber <adrian@adriangraber.com>2021-07-05 20:52:00 +0200
committerAdrian Graber <adrian@adriangraber.com>2021-07-13 00:50:49 +0200
commitb09b489ae7b15feb85b71a18f1b8e320f56d0ce8 (patch)
tree71559a4ee0689b0b6bcb6008353bccb6bf92b35f
parentcmake: fix OpenAL on Switch + using X11 on Linux (diff)
downloadre3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.tar
re3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.tar.gz
re3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.tar.bz2
re3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.tar.lz
re3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.tar.xz
re3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.tar.zst
re3-b09b489ae7b15feb85b71a18f1b8e320f56d0ce8.zip
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4de36572..1cf10d0f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -130,7 +130,7 @@ else()
set(${PROJECT}_C_CXX_EXTENSIONS OFF)
endif()
-if(NOT (WINDOWS OR APPLE OR NINTENDO_SWITCH))
+if(NOT (WIN32 OR APPLE OR NINTENDO_SWITCH))
find_package(X11 REQUIRED)
target_link_libraries(${EXECUTABLE} PRIVATE X11::X11)
endif()