]> granicus.if.org Git - gc/commitdiff
Fix GCJ support in CMake build script
authorIvan Maidanski <ivmai@mail.ru>
Wed, 25 Jan 2017 20:52:53 +0000 (23:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 18:54:20 +0000 (21:54 +0300)
(Cherry-pick part of commit 29d5a7e from 'release-7_6' branch.)

* CMakeLists.txt [enable_gcj_support] (SRC): Add gcj_mlc.c.

CMakeLists.txt

index 0c17a0684043d70144e045b658ce5cccc02833cd..622d8151f1fdeee95b069fb088c4d9d06ee97978 100644 (file)
@@ -205,6 +205,7 @@ ENDIF(CMAKE_USE_WIN32_THREADS_INIT)
 OPTION(enable_gcj_support "Support for gcj" NO)
 IF(enable_gcj_support)
         ADD_DEFINITIONS("-DGC_GCJ_SUPPORT")
+        SET(SRC ${SRC} gcj_mlc.c)
 ENDIF(enable_gcj_support)