mirror of
https://github.com/aap/librw.git
synced 2024-11-25 21:25:42 +00:00
7ce4328601
Big thanks for @madebr who made all work
13 lines
345 B
CMake
13 lines
345 B
CMake
include("${CMAKE_CURRENT_LIST_DIR}/librw-targets.cmake")
|
|
|
|
set(LIBRW_PLATFORM "@LIBRW_PLATFORM@")
|
|
set(LIBRW_PLATFORMS "@LIBRW_PLATFORMS@")
|
|
set(LIBRW_PLATFORM_@LIBRW_PLATFORM@ ON)
|
|
|
|
if(LIBRW_PLATFORM_GL3)
|
|
set(OpenGL_GL_PREFERENCE GLVND)
|
|
find_package(OpenGL REQUIRED)
|
|
find_package(GLEW REQUIRED)
|
|
find_package(glfw3 REQUIRED)
|
|
endif()
|