Skip to content

Commit

Permalink
Update: gitignore & error in CMAKE
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Jun 28, 2023
1 parent 263e825 commit 1816e6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ assets/tslam/*.map
*.out
*.app

**/cmake-build-debug
**/cmake-build-*
**/CMakeCache.txt
**/cmake_install.cmake
**/install_manifest.txt
Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1816e6a

Please sign in to comment.