diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-11-18 06:11:47 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-11-18 06:11:47 +0000 |
commit | 3ddbe154eb0de0f23bbae22b35410ee2070f32a6 (patch) | |
tree | ce6f8846aafe5449d0a84093b3fb87c175c5ff84 /cpp/src | |
parent | a00757a2d7b82f098a31270ad1c59dce6767f64b (diff) | |
download | qpid-python-3ddbe154eb0de0f23bbae22b35410ee2070f32a6.tar.gz |
Fix the files to compile for Solaris
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt index c524550b23..3f8504dcff 100644 --- a/cpp/src/CMakeLists.txt +++ b/cpp/src/CMakeLists.txt @@ -430,12 +430,19 @@ else (CMAKE_SYSTEM_NAME STREQUAL Windows) # POSIX (Non-Windows) platforms have a lot of overlap in sources; the only # major difference is the poller module. if (CMAKE_SYSTEM_NAME STREQUAL Linux) - set (qpid_poller_module qpid/sys/epoll/EpollPoller.cpp) + set (qpid_poller_module + qpid/sys/epoll/EpollPoller.cpp + qpid/sys/posix/SystemInfo.cpp + ) add_definitions(-pthread) set (CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -pthread) endif (CMAKE_SYSTEM_NAME STREQUAL Linux) + if (CMAKE_SYSTEM_NAME STREQUAL SunOS) - set (qpid_poller_module qpid/sys/solaris/ECFPoller.cpp) + set (qpid_poller_module + qpid/sys/solaris/ECFPoller.cpp + qpid/sys/solaris/SystemInfo.cpp + ) endif (CMAKE_SYSTEM_NAME STREQUAL SunOS) set (qpidcommon_platform_SOURCES @@ -452,7 +459,6 @@ else (CMAKE_SYSTEM_NAME STREQUAL Windows) qpid/sys/posix/Socket.cpp qpid/sys/posix/SocketAddress.cpp qpid/sys/posix/StrError.cpp - qpid/sys/posix/SystemInfo.cpp qpid/sys/posix/Thread.cpp qpid/sys/posix/Time.cpp |