Skip to content

Commit

Permalink
Fix set opengl
Browse files Browse the repository at this point in the history
  • Loading branch information
sithumonline committed Apr 12, 2024
1 parent 2cc4be5 commit c3737ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
uses: actions/checkout@v2
- name: Set commit hash
run: |
find /c/ -name "*opengl*"
echo "SHA_SHORT=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
- name: Build and compile
run: |
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ project(json_x_glfw_opengl3)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)

include_directories(${OPENGL_INCLUDE_DIRS})
Expand All @@ -24,7 +25,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/ImGuiFileDialog
)

file(GLOB_RECURSE SOURCES
file(GLOB_RECURSE SOURCES
src/*.cpp
imgui/*.cpp
imgui/backends/*.cpp
Expand Down

0 comments on commit c3737ca

Please sign in to comment.