summaryrefslogtreecommitdiffstats
path: root/src/citra/CMakeLists.txt
diff options
context:
space:
mode:
authorGreg Wicks <gpwicks@email.wm.edu>2015-06-23 02:59:00 +0200
committerGreg Wicks <gpwicks@email.wm.edu>2015-07-12 21:49:23 +0200
commit9930ef72ddaf8930a9bf3e574b7de69f73ecbf87 (patch)
tree30af5b4937f81d1ea7bb9148ec27e71d5501d345 /src/citra/CMakeLists.txt
parentMerge pull request #823 from Subv/applets_drawing (diff)
downloadyuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar
yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.gz
yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.bz2
yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.lz
yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.xz
yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.zst
yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.zip
Diffstat (limited to 'src/citra/CMakeLists.txt')
-rw-r--r--src/citra/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt
index 5e8cbfa35..918687312 100644
--- a/src/citra/CMakeLists.txt
+++ b/src/citra/CMakeLists.txt
@@ -16,8 +16,11 @@ create_directory_groups(${SRCS} ${HEADERS})
add_executable(citra ${SRCS} ${HEADERS})
target_link_libraries(citra core common video_core)
target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih)
+if (MSVC)
+ target_link_libraries(citra getopt)
+endif()
target_link_libraries(citra ${PLATFORM_LIBRARIES})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
-endif()
+endif() \ No newline at end of file