Implement new argument parsing using getopt and add the corresponding library to externals
This commit is contained in:
parent
f4e1d8ea36
commit
9930ef72dd
6 changed files with 1156 additions and 3 deletions
|
@ -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()
|
Loading…
Add table
Add a link
Reference in a new issue