diff --git a/VirtualRobot/CMakeLists.txt b/VirtualRobot/CMakeLists.txt
index 360abf0b3ae9695157874ef70533c02803212715..d178f36aabf715d9054bbe3747eb4bcba3fd8f3d 100644
--- a/VirtualRobot/CMakeLists.txt
+++ b/VirtualRobot/CMakeLists.txt
@@ -80,7 +80,7 @@ if (Simox_USE_COIN_VISUALIZATION)
             set(Simox_BUILD_EXAMPLES ON CACHE BOOL "Build example applications")
 
             target_include_directories(VirtualRobot PUBLIC ${SoQt_INCLUDE_DIRS})
-            target_link_libraries(VirtualRobot PUBLIC SoQt::SoQt)
+            target_link_libraries(VirtualRobot PUBLIC ${SoQt_LIBRARY_DIR}/libSoQt.so)
             target_compile_definitions(VirtualRobot PUBLIC -DSoQt_DLL -DSIMOX_USE_SoQt)
 
             if (NOT UNIX)