From 3c45fdd171fa6ebd65f19f9fac9b204865e13136 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 26 Mar 2018 14:51:56 +0200 Subject: GHOST: Solve compilation error of test programs --- intern/ghost/test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/ghost/test/CMakeLists.txt') diff --git a/intern/ghost/test/CMakeLists.txt b/intern/ghost/test/CMakeLists.txt index fb9ef621ecf..e93832c9b4e 100644 --- a/intern/ghost/test/CMakeLists.txt +++ b/intern/ghost/test/CMakeLists.txt @@ -204,6 +204,7 @@ target_link_libraries(gears_c string_lib ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} + ${CMAKE_DL_LIBS} ${PLATFORM_LINKLIBS} ) @@ -218,6 +219,7 @@ target_link_libraries(gears_cpp string_lib ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} + ${CMAKE_DL_LIBS} ${PLATFORM_LINKLIBS} ) @@ -251,5 +253,6 @@ target_link_libraries(multitest_c ${OPENGL_glu_LIBRARY} ${FREETYPE_LIBRARY} ${ZLIB_LIBRARIES} + ${CMAKE_DL_LIBS} ${PLATFORM_LINKLIBS} ) -- cgit v1.2.3