mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 15:55:42 +01:00
Fixed CMake's import of GLFW.
This commit is contained in:
parent
08e1ba746f
commit
c51e4822b1
@ -13,6 +13,8 @@ add_definitions(${GCC_COMPILE_FLAGS})
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests)
|
||||
include(FindOpenGL REQUIRED)
|
||||
include(FindX11 REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_search_module(GLFW REQUIRED glfw3)
|
||||
|
||||
include_directories(${GLFW_INCLUDE_DIRS})
|
||||
option(DISABLE_QT4 "Disable Qt4 GUI" OFF)
|
||||
|
@ -7,6 +7,6 @@ if (NOT X11_xf86vmode_LIB)
|
||||
endif()
|
||||
|
||||
add_executable(citra ${SRCS})
|
||||
target_link_libraries(citra core common video_core GLEW glfw3 pthread X11 Xxf86vm Xi ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB})
|
||||
target_link_libraries(citra core common video_core GLEW pthread X11 Xxf86vm Xi ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB})
|
||||
|
||||
#install(TARGETS citra RUNTIME DESTINATION ${bindir})
|
||||
|
Loading…
Reference in New Issue
Block a user