Created
January 6, 2015 05:29
-
-
Save ifree/0200f13ab8308d9b93e2 to your computer and use it in GitHub Desktop.
glconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 2.8.5) | |
| set(PROJECT_NAME, gl_playground) | |
| #libs | |
| INCLUDE(FindPkgConfig) | |
| PKG_SEARCH_MODULE(GLEW REQUIRED glew) | |
| PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2) | |
| PKG_SEARCH_MODULE(SDL2_image REQUIRED SDL2_image) | |
| PKG_SEARCH_MODULE(GL REQUIRED gl) | |
| set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} /usr/local/lib/cmake) | |
| find_package(GLM REQUIRED) | |
| if(NOT GLM_FOUND) | |
| message("glm not found") | |
| endif() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment