~jpakkane/thumbnailer/manual-orient

« back to all changes in this revision

Viewing changes to tests/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Jussi Pakkanen
  • Date: 2013-11-04 18:21:55 UTC
  • mfrom: (58.2.29 thumbnailer)
  • Revision ID: tarmac-20131104182155-vgqcl10k07p7zqgu
Created a unique_gobj class for managing gobject based resources.

Approved by PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
add_test(basic basic)
9
9
set_property(TEST basic PROPERTY ENVIRONMENT "XDG_CACHE_HOME=${CMAKE_CURRENT_BINARY_DIR}")
10
10
set_property(TEST basic APPEND PROPERTY ENVIRONMENT "TN_UTILDIR=${CMAKE_BINARY_DIR}/src")
 
11
 
 
12
# This is only needed here because GStreamer brings in gobject.
 
13
pkg_check_modules(GOBJ_DEPS REQUIRED gobject-2.0)
 
14
 
 
15
include_directories(${GOBJ_DEPS_INCLUDE_DIRS})
 
16
 
 
17
add_executable(unique_gobj unique_gobj.cpp)
 
18
target_link_libraries(unique_gobj ${GOBJ_DEPS_LDFLAGS} ${IMG_DEPS_LDFLAGS})
 
19
add_test(unique_gobj unique_gobj)