~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to plugins/opengl/src/glxtfpbind/tests/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
find_library (GMOCK_LIBRARY gmock)
2
 
find_library (GMOCK_MAIN_LIBRARY gmock_main)
3
 
 
4
 
if (NOT GMOCK_LIBRARY OR NOT GMOCK_MAIN_LIBRARY OR NOT GTEST_FOUND)
5
 
  message ("Google Mock and Google Test not found - cannot build tests!")
6
 
  set (COMPIZ_BUILD_TESTING OFF)
7
 
endif (NOT GMOCK_LIBRARY OR NOT GMOCK_MAIN_LIBRARY OR NOT GTEST_FOUND)
8
 
 
9
 
include_directories (${GTEST_INCLUDE_DIRS})
10
 
 
11
 
link_directories (${COMPIZ_LIBRARY_DIRS})
12
 
 
13
1
add_executable (compiz_test_opengl_glx_tfp_bind
14
2
                ${CMAKE_CURRENT_SOURCE_DIR}/test-opengl-glx-tfp-bind.cpp)
15
3
 
17
5
                       compiz_opengl_glx_tfp_bind
18
6
                       ${GTEST_BOTH_LIBRARIES}
19
7
                       ${GMOCK_LIBRARY}
20
 
                       ${GMOCK_MAIN_LIBRARY}
21
 
                       ${CMAKE_THREAD_LIBS_INIT} # Link in pthread.
22
 
                       )
 
8
                       ${GMOCK_MAIN_LIBRARY})
23
9
 
24
10
compiz_discover_tests (compiz_test_opengl_glx_tfp_bind COVERAGE compiz_opengl_glx_tfp_bind)