~townsend/compiz/fix-auto-vp-switch-0.9.10

« back to all changes in this revision

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

  • Committer: Sam Spilsbury
  • Date: 2013-07-17 07:50:48 UTC
  • mto: (3759.1.4 compiz)
  • mto: This revision was merged to the branch mainline in revision 3760.
  • Revision ID: sam.spilsbury@canonical.com-20130717075048-sh21bpzyss53pfcd
Remove duplication and fix wrong order for set ()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set (GMOCK_LIBRARY gmock)
2
 
set (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