Commit a61bf85a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Use -std=gnu99 instead of -std=c99 and link libvlc-control to libvlc.

parent b1e6b604
...@@ -8,7 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake ) ...@@ -8,7 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
add_definitions(-DHAVE_CONFIG_H) add_definitions(-DHAVE_CONFIG_H)
add_definitions(-D__LIBVLC__) add_definitions(-D__LIBVLC__)
add_definitions(-I. -std=c99) add_definitions(-I. -std=gnu99)
include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${CMAKE_SOURCE_DIR}/include)
......
...@@ -161,6 +161,7 @@ set( SOURCES_libvlc_control ...@@ -161,6 +161,7 @@ set( SOURCES_libvlc_control
add_library(libvlc-control SHARED ${SOURCES_libvlc_control}) add_library(libvlc-control SHARED ${SOURCES_libvlc_control})
install_targets(/lib libvlc-control) install_targets(/lib libvlc-control)
target_link_libraries(libvlc-control libvlc)
########################################################## ##########################################################
# Libraries # Libraries
......
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