mirror of
https://github.com/aap/librw.git
synced 2024-11-29 07:05:42 +00:00
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()
|