churchyard / rpms / smoldyn

Forked from rpms/smoldyn 2 years ago
Clone
a17a6ee
--- CMakeLists.txt~	2019-09-19 11:56:56.000000000 -0500
a17a6ee
+++ CMakeLists.txt	2019-09-19 12:00:30.716178022 -0500
3135055
@@ -326,15 +326,8 @@
3135055
         set(GLUT_FOUND TRUE)
3135055
     endif ()
a17a6ee
 
3135055
-    if(GLUT_FOUND)
3135055
-        message(STATUS "Glut found: '${GLUT_INCLUDE_DIR}', '${GLUT_LIBRARIES}'")
3135055
-    else()
3135055
-        message(STATUS "Glut include and library variables: '${GLUT_INCLUDE_DIR}', '${GLUT_LIBRARIES}'")
3135055
-        message(FATAL_ERROR "Glut not found.  Building without OpenGL is possible.")
3135055
-    endif()
3135055
-
3135055
-    include_directories(${GLUT_INCLUDE_DIR})
3135055
-    list(APPEND DEP_LIBS ${GLUT_LIBRARIES})
3135055
+        include_directories(/usr/include/GL)
3135055
+        list(APPEND DEP_LIBS -lglut)
a17a6ee
 endif()
a17a6ee
 
a17a6ee