diff --git a/.gitignore b/.gitignore index 1ffc2c3d..bbaa1af4 100644 --- a/.gitignore +++ b/.gitignore @@ -42,7 +42,7 @@ assets/tslam/*.map *.out *.app -**/cmake-build-debug +**/cmake-build-* **/CMakeCache.txt **/cmake_install.cmake **/install_manifest.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 502f7392..ad7a8289 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,10 +93,10 @@ set(OpenGL_GL_PREFERENCE LEGACY) # <-- temp fix: or GLVIND? find_package(OpenGL REQUIRED) execute_process(COMMAND glxinfo -B OUTPUT_VARIABLE GLXINFO WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) -string(REGEX MATCH "OpenGL version string: ([0-9.]+)" GLXINFO ${GLXINFO}) -message(STATUS "OpenGL version: ${CMAKE_MATCH_1}") -message(STATUS "OpenGL icnlude dir: ${OPENGL_INCLUDE_DIR}") -message(STATUS "OpenGL libraries: ${OPENGL_LIBRARIES}") +#string(REGEX MATCH "OpenGL version string: ([0-9.]+)" GLXINFO ${GLXINFO}) +#message(STATUS "OpenGL version: ${CMAKE_MATCH_1}") +#message(STATUS "OpenGL icnlude dir: ${OPENGL_INCLUDE_DIR}") +#message(STATUS "OpenGL libraries: ${OPENGL_LIBRARIES}") #GLFW if(UNIX AND INSTALL_GLFW33)