diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-10 00:47:58 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-10 00:47:58 -0400 |
commit | 6e264d243f0b29d90e90b605b6cdeab8227129c9 (patch) | |
tree | 6f804be0f4d1c1179330e071408d1b6a9592c5fc | |
parent | 3b53450b9236dc50abe652913cad17dedfca50df (diff) | |
download | c++-6e264d243f0b29d90e90b605b6cdeab8227129c9.tar.gz c++-6e264d243f0b29d90e90b605b6cdeab8227129c9.tar.bz2 c++-6e264d243f0b29d90e90b605b6cdeab8227129c9.zip |
make sure new no-field examples are compiled with graphics support, if available
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9eb1e48..7bf604c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,7 @@ else() target_link_libraries(wolff_planar_2D cblas gsl m glut GL GLU) target_link_libraries(wolff_planar_2D_0 cblas gsl m glut GL GLU) target_compile_definitions(wolff_ising PUBLIC HAVE_GLUT) + target_compile_definitions(wolff_ising_2D_0 PUBLIC HAVE_GLUT) target_compile_definitions(wolff_dgm PUBLIC HAVE_GLUT) target_compile_definitions(wolff_cgm PUBLIC HAVE_GLUT) target_compile_definitions(wolff_3potts PUBLIC HAVE_GLUT) @@ -87,6 +88,7 @@ else() target_compile_definitions(wolff_5clock PUBLIC HAVE_GLUT) target_compile_definitions(wolff_planar PUBLIC HAVE_GLUT) target_compile_definitions(wolff_planar_2D PUBLIC HAVE_GLUT) + target_compile_definitions(wolff_planar_2D_0 PUBLIC HAVE_GLUT) target_compile_definitions(wolff_heisenberg PUBLIC HAVE_GLUT) endif() |