Enable video in unit tests when building with CMake.

This commit is contained in:
Ghislain MARY 2014-12-01 16:32:10 +01:00
parent 65283e00ee
commit 43fe5b0b23
2 changed files with 5 additions and 4 deletions

View file

@ -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)

View file

@ -110,10 +110,6 @@ add_definitions(
-DLIBLINPHONE_EXPORTS
)
if(ENABLE_VIDEO)
add_definitions(-DVIDEO_ENABLED)
endif()
set(LIBS
${LIBGCC}
${LIBMINGWEX}