Skip to content

Commit

Permalink
updated for the new lab build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacey committed Jun 21, 2024
1 parent d70c7c5 commit 007d21f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SDLExamples/OpenGL2.0/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(SDLOpenGL2Example)
# Now find the SDL2 and OpenGL librarys
find_package(SDL2 CONFIG REQUIRED)
find_package(OpenGL REQUIRED)
find_package(GLM CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED)

# Set to C++ 17
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -18,5 +18,5 @@ set(CMAKE_CXX_EXTENSIONS ON)
add_definitions(-DGL_SILENCE_DEPRECATION)
add_executable(SDLOpenGL2)
target_sources(SDLOpenGL2 PRIVATE main.cpp )
target_link_libraries(SDLOpenGL2 PRIVATE SDL2::SDL2 SDL2::SDL2main OpenGL::GL glm::glm)
target_link_libraries(SDLOpenGL2 PRIVATE SDL2::SDL2 SDL2::SDL2main OpenGL::GL glm::glm-header-only)

2 changes: 1 addition & 1 deletion glm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(glm CONFIG REQUIRED)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS ON)

add_compile_definitions(GLM_ENABLE_EXPERIMENTAL)
add_executable(GLMBoilerPlate)
target_sources(GLMBoilerPlate PRIVATE main.cpp )
target_link_libraries(GLMBoilerPlate PRIVATE fmt::fmt glm::glm )
Expand Down

0 comments on commit 007d21f

Please sign in to comment.