Skip to content

Commit

Permalink
Fixed build issue on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
taxilian committed Oct 12, 2011
1 parent 04dd1f5 commit 9f6daf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/log4cplus/CMakeLists.txt
Expand Up @@ -120,7 +120,8 @@ if (NOT WIN32 AND NOT TARGET_ALREADY_EXISTS)
endif()
message("includes: ${CMAKE_REQUIRED_INCLUDES}")

if (APPLE)
# IF (CMAKE_XCODE_ATTRIBUTE_GCC_VERSION STRE
if (APPLE AND CMAKE_XCODE_ATTRIBUTE_GCC_VERSION STREQUAL "4.0")
set(LOG4CPLUS_HAVE_SYS_TYPES_H 1)
set(LOG4CPLUS_HAVE_SYS_SOCKET_H 1)
set(LOG4CPLUS_HAVE_SYS_TIME_H 1)
Expand Down

0 comments on commit 9f6daf8

Please sign in to comment.