diff --git a/cmake/define.inc b/cmake/define.inc index d840cb59e2615585f795a3ac7e06a39d91aa056f..429a7cd8fe5050907970070c371c559fcb0e398e 100755 --- a/cmake/define.inc +++ b/cmake/define.inc @@ -61,6 +61,9 @@ IF (TD_LINUX_64) ELSE () SET(COMMON_FLAGS "-std=gnu99 -Wall -Werror -fPIC -g -fsigned-char -fpack-struct=8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE") ENDIF () + MESSAGE(STATUS "CMAKE_CXX_COMPILER_ID: " ${CMAKE_CXX_COMPILER_ID}) + MESSAGE(STATUS "COMMON_FLAGS: " ${COMMON_FLAGS}) + FIND_PATH(ICONV_INCLUDE_EXIST iconv.h /usr/include/ /usr/local/include/) IF (ICONV_INCLUDE_EXIST) ADD_DEFINITIONS(-DUSE_LIBICONV)