diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-19 14:21:37 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-19 14:21:37 -0400 |
commit | 7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf (patch) | |
tree | a49dfc742878b10fe4249cec350ed01050e653f0 | |
parent | a9536365e6e0a571147253d2c2308716a767fbbb (diff) | |
download | c++-7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf.tar.gz c++-7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf.tar.bz2 c++-7b3928fb77fffaab35ed75fda5c2ff5d8a802fbf.zip |
added warning when animation isn't built
-rw-r--r-- | examples/CMakeLists.txt | 1 |
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) |