From 6e264d243f0b29d90e90b605b6cdeab8227129c9 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 10 Oct 2018 00:47:58 -0400 Subject: make sure new no-field examples are compiled with graphics support, if available --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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() -- cgit v1.2.3-54-g00ecf