diff options
| author | 2015-06-22 20:59:00 -0400 | |
|---|---|---|
| committer | 2015-07-12 15:49:23 -0400 | |
| commit | 9930ef72ddaf8930a9bf3e574b7de69f73ecbf87 (patch) | |
| tree | 30af5b4937f81d1ea7bb9148ec27e71d5501d345 /src/citra/CMakeLists.txt | |
| parent | Merge pull request #823 from Subv/applets_drawing (diff) | |
| download | yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.gz yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.tar.xz yuzu-9930ef72ddaf8930a9bf3e574b7de69f73ecbf87.zip | |
Implement new argument parsing using getopt and add the corresponding library to externals
Diffstat (limited to 'src/citra/CMakeLists.txt')
| -rw-r--r-- | src/citra/CMakeLists.txt | 5 |
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}) | |||
| 16 | add_executable(citra ${SRCS} ${HEADERS}) | 16 | add_executable(citra ${SRCS} ${HEADERS}) |
| 17 | target_link_libraries(citra core common video_core) | 17 | target_link_libraries(citra core common video_core) |
| 18 | target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih) | 18 | target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih) |
| 19 | if (MSVC) | ||
| 20 | target_link_libraries(citra getopt) | ||
| 21 | endif() | ||
| 19 | target_link_libraries(citra ${PLATFORM_LIBRARIES}) | 22 | target_link_libraries(citra ${PLATFORM_LIBRARIES}) |
| 20 | 23 | ||
| 21 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") | 24 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") |
| 22 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | 25 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") |
| 23 | endif() | 26 | endif() \ No newline at end of file |