aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-20 10:19:03 -0700
committerGitHub <noreply@github.com>2021-04-20 10:19:03 -0700
commit7083c5bfc8b6990ac9cd0758a452fbd75c15f3d2 (patch)
tree0c80f17141b77304f932b7eaecd5834d22845700 /src/input_common/CMakeLists.txt
parent17704271f420f6846d3db4d5e72745ce3d0a9117 (diff)
parentf973274b99d6683d257d77b5d2fd1994853ec3a7 (diff)
Merge pull request #6207 from lat9nq/sdl-2.0.14
cmake: Use SDL 2.0.14 and fix scope issue
Diffstat (limited to 'src/input_common/CMakeLists.txt')
-rw-r--r--src/input_common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index c3cfe7efc..de53e1fda 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -62,7 +62,7 @@ else()
)
endif()
-if(SDL2_FOUND)
+if (ENABLE_SDL2)
target_sources(input_common PRIVATE
sdl/sdl_impl.cpp
sdl/sdl_impl.h