X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=CMakeLists.txt;h=d228fa0e5a534376fda5e5937254ffd4209e733f;hp=10ab5450c33396706b5bc3292a03e435455f0faa;hb=616b478aff3a11f38ab379008c43a179718333f8;hpb=dd8e931adbd4f8f7711e8861d0bd0f7878c96809 diff --git a/CMakeLists.txt b/CMakeLists.txt index 10ab545..d228fa0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,3 +22,8 @@ endif(NOT GLEW_FOUND) include_directories(${GLEW_INCLUDE_DIR}) target_link_libraries(assignment-1 ${GLEW_LIBRARIES}) +find_package(GLM REQUIRED) +if(NOT GLM_FOUND) + message(ERROR "GLM not found") +endif(NOT GLM_FOUND) +include_directories(${GLM_INCLUDE_DIR})