Merge pull request #185 from atong-tcs/master

cmake: use CMAKE_DL_LIBS instead of dl for portability
This commit is contained in:
Marc-André Moreau 2011-10-25 09:17:32 -07:00
commit 35fb332116
2 changed files with 2 additions and 2 deletions

View File

@ -93,6 +93,6 @@ target_link_libraries(xfreerdp freerdp-kbd)
target_link_libraries(xfreerdp freerdp-rail)
target_link_libraries(xfreerdp freerdp-channels)
target_link_libraries(xfreerdp freerdp-utils)
target_link_libraries(xfreerdp ${X11_LIBRARIES} dl)
target_link_libraries(xfreerdp ${X11_LIBRARIES} ${CMAKE_DL_LIBS})
install(TARGETS xfreerdp DESTINATION ${CMAKE_INSTALL_BINDIR})

View File

@ -23,4 +23,4 @@ add_executable(freerdp-test
target_link_libraries(freerdp-test freerdp-core)
target_link_libraries(freerdp-test freerdp-gdi)
target_link_libraries(freerdp-test freerdp-utils)
target_link_libraries(freerdp-test freerdp-channels dl)
target_link_libraries(freerdp-test freerdp-channels ${CMAKE_DL_LIBS})