From ee36fd725c890c5156f1d777368eeb84d5a3922e Mon Sep 17 00:00:00 2001 From: flaviojs Date: Tue, 20 Mar 2012 16:59:07 +0000 Subject: - Fixed CMake compilation (libconfig integrated into common_base). - Chanced libconfig.h include directives to double-quoted form (never use the system version of libconfig.h). - Removed ShowError/ShowNotice from sig plugin (showmsg.c depends on core.c). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15737 54d463be-8e91-2dee-dedb-b68131a5f0ec --- 3rdparty/libconfig/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '3rdparty') diff --git a/3rdparty/libconfig/CMakeLists.txt b/3rdparty/libconfig/CMakeLists.txt index e98b46a5c..306a85aec 100644 --- a/3rdparty/libconfig/CMakeLists.txt +++ b/3rdparty/libconfig/CMakeLists.txt @@ -23,4 +23,7 @@ set( LIBCONFIG_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/scanctx.c" "${CMAKE_CURRENT_SOURCE_DIR}/scanner.c" "${CMAKE_CURRENT_SOURCE_DIR}/strbuf.c" - CACHE INTERNAL "libconfig sources" ) \ No newline at end of file + CACHE INTERNAL "libconfig sources" ) +set( LIBCONFIG_DEFINITIONS + "-DLIBCONFIG_STATIC" + CACHE INTERNAL "libconfig definitions" ) \ No newline at end of file -- cgit v1.2.3-60-g2f50