summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-04 18:10:09 +0100
committerGitHub <noreply@github.com>2022-12-04 18:10:09 +0100
commit919b4acfea59dc54d7a1414bfa10f0a6e2974682 (patch)
treed6b9958e223161972053811114ad3a953d87ee30
parentMerge pull request #9375 from jbeich/xbyak-no-install (diff)
parentyuzu-cmd: link SDL2 correctly (diff)
downloadyuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.tar
yuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.tar.gz
yuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.tar.bz2
yuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.tar.lz
yuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.tar.xz
yuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.tar.zst
yuzu-919b4acfea59dc54d7a1414bfa10f0a6e2974682.zip
-rw-r--r--externals/CMakeLists.txt1
-rw-r--r--src/yuzu_cmd/CMakeLists.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index d25626ccc..eb6cb706d 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -69,7 +69,6 @@ if (YUZU_USE_EXTERNAL_SDL2)
endif()
add_subdirectory(SDL EXCLUDE_FROM_ALL)
- target_link_directories(SDL2-static INTERFACE "${SDL2_BINARY_DIR}")
endif()
# ENet
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt
index 607b4e6aa..1c0c1a9fe 100644
--- a/src/yuzu_cmd/CMakeLists.txt
+++ b/src/yuzu_cmd/CMakeLists.txt
@@ -38,7 +38,7 @@ target_link_libraries(yuzu-cmd PRIVATE inih glad)
if (MSVC)
target_link_libraries(yuzu-cmd PRIVATE getopt)
endif()
-target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} SDL2 Threads::Threads)
+target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
create_resource("../../dist/yuzu.bmp" "yuzu_cmd/yuzu_icon.h" "yuzu_icon")
target_include_directories(yuzu-cmd PRIVATE ${RESOURCES_DIR})