Commit 43fe5b0b authored by Ghislain MARY's avatar Ghislain MARY

Enable video in unit tests when building with CMake.

parent 65283e00
......@@ -153,6 +153,11 @@ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/config.h PROPERTIES GENE
add_definitions(-DHAVE_CONFIG_H)
if(ENABLE_VIDEO)
add_definitions(-DVIDEO_ENABLED)
endif()
add_subdirectory(coreapi)
add_subdirectory(share)
if(ENABLE_GTK_UI)
......
......@@ -110,10 +110,6 @@ add_definitions(
-DLIBLINPHONE_EXPORTS
)
if(ENABLE_VIDEO)
add_definitions(-DVIDEO_ENABLED)
endif()
set(LIBS
${LIBGCC}
${LIBMINGWEX}
......
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