From 45ca1089480222f5b3d60a51e7c635c2a8f1fb32 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 25 Jan 2017 23:52:53 +0300 Subject: [PATCH] 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. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- 2.40.0