File: CMakeLists.txt

package info (click to toggle)
insighttoolkit5 5.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704,404 kB
  • sloc: cpp: 783,697; ansic: 628,724; xml: 44,704; fortran: 34,250; python: 22,874; sh: 4,078; pascal: 2,636; lisp: 2,158; makefile: 461; yacc: 328; asm: 205; perl: 203; lex: 146; tcl: 132; javascript: 98; csh: 81
file content (17 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
project(ITKGoogleTest)
set(ITKGoogleTest_THIRD_PARTY 1)

if(ITK_USE_SYSTEM_GOOGLETEST)
  if( NOT DEFINED GTEST_ROOT OR NOT EXISTS "${GTEST_ROOT}/CMakeLists.txt")
    set(ITKGoogleTest_NO_SRC 1)
    set(ITKGoogleTest_LIBRARIES GTest::GTest GTest::Main)
    set(ITKGoogleTest_EXPORT_CODE_BUILD "
if(NOT ITK_BINARY_DIR)
  set(GTEST_ROOT \"${GTEST_ROOT}\")
  find_package(GTest REQUIRED)
endif()
")
  endif()
endif ()

itk_module_impl()