Skip to content

Commit

Permalink
Add missing library linkage
Browse files Browse the repository at this point in the history
... no idea how Ripes builds without this
  • Loading branch information
mortbopet committed Sep 24, 2023
1 parent 27102ad commit 2a53d23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if(VSRTL_DEBUG_DRAWING)
target_compile_definitions(${VSRTL_GRAPHICS_LIB} PRIVATE VSRTL_DEBUG_DRAW=1)
endif()

target_link_libraries(${VSRTL_GRAPHICS_LIB} Qt6::Core Qt6::Widgets)
find_package(Qt6 REQUIRED COMPONENTS OpenGLWidgets)
target_link_libraries(${VSRTL_GRAPHICS_LIB} Qt6::Core Qt6::Widgets Qt6::OpenGLWidgets)

target_include_directories(${VSRTL_GRAPHICS_LIB} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

Expand Down

0 comments on commit 2a53d23

Please sign in to comment.