|
|
@ -44,6 +44,7 @@ endif (WIN32) |
|
|
|
if (MSVC) |
|
|
|
set (LOG4CPLUS_WORKING_LOCALE_DEFAULT ON) |
|
|
|
else (MSVC) |
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
|
|
|
set (LOG4CPLUS_WORKING_LOCALE_DEFAULT OFF) |
|
|
|
endif (MSVC) |
|
|
|
|
|
|
@ -72,9 +73,13 @@ if (NOT ${BUILD_SHARED_LIBS}) |
|
|
|
set (log4cplus_postfix "${log4cplus_postfix}S") |
|
|
|
endif() |
|
|
|
|
|
|
|
if (UNICODE) |
|
|
|
if (UNICODE AND (DEFINED LOG4CPLUS_USE_UNICODE AND LOG4CPLUS_USE_UNICODE)) |
|
|
|
set (log4cplus_postfix "${log4cplus_postfix}U") |
|
|
|
endif (UNICODE) |
|
|
|
message(STATUS "Log4CPlus - Using Unicode: YES") |
|
|
|
else() |
|
|
|
message(STATUS "Log4CPlus - Using Unicode: NO") |
|
|
|
set(UNICODE OFF) |
|
|
|
endif() |
|
|
|
|
|
|
|
if (WITH_ICONV) |
|
|
|
set(LOG4CPLUS_WITH_ICONV 1) |
|
|
|