From 2a53d231deee4a23a99e02ac9ba4214d56cd2892 Mon Sep 17 00:00:00 2001 From: Morten Borup Petersen Date: Sun, 24 Sep 2023 12:36:11 +0200 Subject: [PATCH] Add missing library linkage ... no idea how Ripes builds without this --- graphics/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/CMakeLists.txt b/graphics/CMakeLists.txt index a45ab88..02c6c0a 100644 --- a/graphics/CMakeLists.txt +++ b/graphics/CMakeLists.txt @@ -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})