summaryrefslogtreecommitdiffstats
path: root/src/citra/CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 06:38:49 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 06:38:49 +0200
commit776cb917850c9d36ffd886de2dc93f6b42b879db (patch)
tree7b5b17b1b7f7543ae7e8bd424cb968e72134e9b8 /src/citra/CMakeLists.txt
parentCMake: Remove CITRA_QT_LIBS var (diff)
downloadyuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.tar
yuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.tar.gz
yuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.tar.bz2
yuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.tar.lz
yuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.tar.xz
yuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.tar.zst
yuzu-776cb917850c9d36ffd886de2dc93f6b42b879db.zip
Diffstat (limited to '')
-rw-r--r--src/citra/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt
index f6f2e8e91..d72d2b5f4 100644
--- a/src/citra/CMakeLists.txt
+++ b/src/citra/CMakeLists.txt
@@ -15,15 +15,13 @@ set(HEADERS
create_directory_groups(${SRCS} ${HEADERS})
-include_directories(${SDL2_INCLUDE_DIR})
-
add_executable(citra ${SRCS} ${HEADERS})
target_link_libraries(citra PRIVATE common core input_common)
-target_link_libraries(citra PRIVATE ${SDL2_LIBRARY} inih glad)
+target_link_libraries(citra PRIVATE inih glad)
if (MSVC)
target_link_libraries(citra PRIVATE getopt)
endif()
-target_link_libraries(citra PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
+target_link_libraries(citra PRIVATE ${PLATFORM_LIBRARIES} SDL2 Threads::Threads)
if(UNIX AND NOT APPLE)
install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")