summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-10-19 14:21:37 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-10-19 14:21:37 -0400
commit7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf (patch)
treea49dfc742878b10fe4249cec350ed01050e653f0 /examples
parenta9536365e6e0a571147253d2c2308716a767fbbb (diff)
downloadc++-7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf.tar.gz
c++-7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf.tar.bz2
c++-7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf.zip
added warning when animation isn't built
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 33b76ae..5cdf3a0 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -28,6 +28,7 @@ FIND_LIBRARY(GLU NAMES GLU)
FIND_LIBRARY(GLUT NAMES glut)
if (${GLUT} MATCHES "GLUT-NOTFOUND")
+ message(WARNING "Executable examples/ising_animation is not being built because the glut library can't be found.")
else()
add_executable(ising_animation ising_animation.cpp)
target_link_libraries(ising_animation wolff GL GLU glut)