Commit f411edfc authored by Ghislain MARY's avatar Ghislain MARY

Set PLUGINS_EXT to ".dylib" on Mac OS X when building with CMake.

parent 042feb90
......@@ -338,6 +338,7 @@ if(APPLE)
if(ENABLE_MACSND)
list(APPEND APPLE_SPECIFIC_LINK_FLAGS "-framework Carbon" "-framework AudioUnit" "-framework CoreAudio -framework CoreServices")
endif()
set(PLUGINS_EXT ".dylib")
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/mediastreamer-config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/mediastreamer-config.h)
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/mediastreamer-config.h PROPERTIES GENERATED ON)
......
......@@ -60,6 +60,7 @@
#cmakedefine HAVE_SPEEXDSP
#cmakedefine PACKAGE_PLUGINS_DIR "${PACKAGE_PLUGINS_DIR}"
#cmakedefine PACKAGE_DATA_DIR "${PACKAGE_DATA_DIR}"
#cmakedefine PLUGINS_EXT "${PLUGINS_EXT}"
#cmakedefine HAVE_LIBAVCODEC_AVCODEC_H 1
#cmakedefine HAVE_LIBSWSCALE_SWSCALE_H 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment