projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assignment 2
[opengl.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 10ab5450c33396706b5bc3292a03e435455f0faa..d228fa0e5a534376fda5e5937254ffd4209e733f 100644
(file)
--- 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})