Skip to content

Commit

Permalink
Fixed OpenGL compilation on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen25 authored Apr 22, 2018
1 parent e31112c commit fe37e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ target_include_directories(panorama PRIVATE ${CMAKE_SOURCE_DIR}/imgui
${CMAKE_SOURCE_DIR}/include
${SDL2_INCLUDE_DIRS})

target_link_libraries(panorama Threads::Threads OpenGL::GL dl SDL2 cap)
target_link_libraries(panorama Threads::Threads ${OPENGL_LIBRARIES} dl SDL2 cap)

# Installation
install(TARGETS panorama DESTINATION bin)
Expand Down

0 comments on commit fe37e43

Please sign in to comment.