target_link_libraries(libvlc ${CARBON_FRAMEWORK})
endif(APPLE)
-target_link_libraries(libvlc ${Dlopen_LIBRARY})
-
##########################################################
# revision.c
endif(NOT APPLE)
target_link_libraries(libvlc ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES})
+target_link_libraries(libvlc ${LIBM})
set_target_properties(libvlc PROPERTIES SOVERSION 1.0.0)
set_target_properties(libvlc libvlc-control PROPERTIES PREFIX "")
set(LIBRT "rt")
endif (HAVE_CLOCK_NANOSLEEP)
+check_library_exists(m pow "" HAVE_LIBM)
+if (HAVE_LIBM)
+ set (LIBM "m")
+endif (HAVE_LIBM)
+
###########################################################
# Other check
###########################################################