Fixed CMake's import of GLFW.
This commit is contained in:
parent
08e1ba746f
commit
c51e4822b1
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue