From eaac3a64f8d16d32b72537a56caa3760abccd10e Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Fri, 26 Apr 2013 23:48:25 +0200 Subject: [PATCH] Fix linker error for test --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b592c5cc..0a0d6278 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -377,7 +377,8 @@ if(ENABLE_TESTS) if(NOT SIMGEAR_HEADLESS) set( TEST_LIBS SimGearScene - ${TEST_LIBS}) + ${TEST_LIBS} + ${OPENGL_LIBRARIES}) endif() else() message(STATUS "Tests: DISABLED") -- 2.39.5