@@ -30,19 +30,16 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
3030# As of CMake 2.6 Policies were introduced in order to provide a mechanism for
3131# adding backwards compatibility one feature at a time.
3232
33- # Run cmake --help-policy CMP<num> to see documentation.
34- if (COMMAND cmake_policy)
35- # Library paths (/path/to/libmy.so not translated to -L/path/to -lmy)
36- cmake_policy (SET CMP0003 NEW)
37- if (POLICY CMP0033)
38- # The ``export_library_dependencies()`` command should not be called.
39- # The functionality has been superseded by export() and install(EXPORT) commands
40- cmake_policy (SET CMP0033 NEW)
41- endif ()
42- if (POLICY CMP0054)
43- #Only interpret ``if()`` arguments as variables or keywords when unquoted.
44- cmake_policy (SET CMP0054 OLD)
45- endif ()
33+ # Library paths (/path/to/libmy.so not translated to -L/path/to -lmy)
34+ cmake_policy (SET CMP0003 NEW)
35+ if (POLICY CMP0033)
36+ # The ``export_library_dependencies()`` command should not be called.
37+ # The functionality has been superseded by export() and install(EXPORT) commands
38+ cmake_policy (SET CMP0033 NEW)
39+ endif ()
40+ if (POLICY CMP0054)
41+ #Only interpret ``if()`` arguments as variables or keywords when unquoted.
42+ cmake_policy (SET CMP0054 OLD)
4643endif ()
4744
4845project (Teem)
@@ -561,7 +558,6 @@ set(Teem_CV_BUILT_LIBRARIES teem) # The libraries built by teem. Currently we o
561558configure_file ("${Teem_SOURCE_DIR} /CMake/TeemConfig.cmake.in"
562559 "${Teem_BINARY_DIR} /CMake/TeemConfig.cmake" @ONLY IMMEDIATE)
563560
564-
565561install (FILES ${Teem_INSTALLED_HEADER_FILES}
566562 DESTINATION include /teem
567563 )
0 commit comments