Moved ngmx to C++, renamed it to view.
[alexxy/gromacs.git] / CMakeLists.txt
index bc8deea853b3e5601892d5e7177a15b6e0afdfcc..ae04ed474fb877b37ab58757d2310c6f6b611e5e 100644 (file)
@@ -471,6 +471,9 @@ if (GMX_X11)
     # X11 includes/libraries are only set in the ngmx subdirectory!
     if(NOT X11_FOUND)
         message(WARNING "X11 include files and/or libraries were not found. Will not build the GROMACS X11-binaries, such as ngmx")
+    else()
+        set(HAVE_X11 1)
+        include_directories(${X11_INCLUDE_DIR})
     endif()
 endif(GMX_X11)