Merge pull request #3 from bmiklautz/xrdp-build-fix

link winpr/synch against librt
This commit is contained in:
Marc-André Moreau 2013-09-10 05:00:43 -07:00
commit c8fe40098b

View File

@ -55,7 +55,7 @@ set(${MODULE_PREFIX}_LIBS
${CMAKE_THREAD_LIBS_INIT}
${CMAKE_DL_LIBS})
if(${CMAKE_SYSTEM_NAME} MATCHES SunOS)
if((NOT WIN32) AND (NOT APPLE) AND (NOT ANDROID))
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} rt)
endif()