winpr/synch: link against librt

This commit is contained in:
Bernhard Miklautz 2013-09-10 10:38:23 +02:00
parent a0e09e6273
commit 8c796e9afc

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()