From: Ivan Maidanski Date: Wed, 25 Jan 2017 20:52:53 +0000 (+0300) Subject: Fix GCJ support in CMake build script X-Git-Tag: v7.4.6~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45ca1089480222f5b3d60a51e7c635c2a8f1fb32;p=gc Fix GCJ support in CMake build script (Cherry-pick part of commit 29d5a7e from 'release-7_6' branch.) * CMakeLists.txt [enable_gcj_support] (SRC): Add gcj_mlc.c. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c17a068..622d8151 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)