forked from pool/Coin4
Major new version, parallel installable with Coin (3) OBS-URL: https://build.opensuse.org/request/show/960019 OBS-URL: https://build.opensuse.org/package/show/science/Coin4?expand=0&rev=1
20 lines
629 B
Diff
20 lines
629 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -586,11 +586,11 @@ if(NOT (HAVE_WGL OR HAVE_AGL OR HAVE_CGL
|
|
list(APPEND COIN_TARGET_LINK_LIBRARIES OpenGL::GLX)
|
|
endif()
|
|
set(CMAKE_REQUIRED_LIBRARIES ${COIN_TARGET_LINK_LIBRARIES})
|
|
- check_cxx_source_compiles("
|
|
- #include <GL/gl.h>
|
|
- #include <GL/glx.h>
|
|
- int main() { (void)glXChooseVisual(0L, 0, 0L); glEnd(); return 0; }
|
|
- " HAVE_GLX)
|
|
+# check_cxx_source_compiles("
|
|
+# #include <GL/gl.h>
|
|
+# #include <GL/glx.h>
|
|
+# int main() { (void)glXChooseVisual(0L, 0, 0L); glEnd(); return 0; }
|
|
+# " HAVE_GLX)
|
|
endif()
|
|
|
|
# Checks specific OpenGL configurations
|