glew-cmake/glew-cmake/cmake-install-test.cmake
2021-01-03 15:12:00 +09:00

12 lines
334 B
CMake

cmake_minimum_required(VERSION 2.8.12)
project(cmake_install_test)
# Dependencies of glew.
# These are referenced in glewConfig.cmake. but, not automatically found.
find_package(OpenGL REQUIRED)
find_package(X11 REQUIRED)
find_package(glew)
add_executable(glewinfo glewinfo.c)
target_link_libraries(glewinfo PRIVATE libglew_static)