Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-03-26 15:51:56 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-03-26 15:51:56 +0300
commit3c45fdd171fa6ebd65f19f9fac9b204865e13136 (patch)
treea701d9abc635e9394a59e7146685682fef520215 /intern/ghost
parent64e5f83133742c622e9c44b80f86d744a0dab05d (diff)
GHOST: Solve compilation error of test programs
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/test/CMakeLists.txt3
-rw-r--r--intern/ghost/test/multitest/MultiTest.c2
2 files changed, 4 insertions, 1 deletions
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}
)
diff --git a/intern/ghost/test/multitest/MultiTest.c b/intern/ghost/test/multitest/MultiTest.c
index a5b5a511cb2..833b5c720a1 100644
--- a/intern/ghost/test/multitest/MultiTest.c
+++ b/intern/ghost/test/multitest/MultiTest.c
@@ -949,7 +949,7 @@ int main(int argc, char **argv)
MultiTestApp *app;
#ifndef USE_BMF
- BLF_init(11, 72);
+ BLF_init();
#endif
app = multitestapp_new();