ECM5/IncompatibleChangesKDELibs4ToECM: Difference between revisions

From KDE TechBase
(Created page with "=== FindRUBY.cmake === This file does not exist anymore, use FindRuby.cmake coming with CMake instead. Most variables are the same. Below are the changes: * find_package(RUBY) ...")
 
No edit summary
Line 5: Line 5:
* find_package(RUBY) -> find_package(Ruby)
* find_package(RUBY) -> find_package(Ruby)
* RUBY_INCLUDE_PATH -> RUBY_INCLUDE_DIRS
* RUBY_INCLUDE_PATH -> RUBY_INCLUDE_DIRS
=== MacroOptionalFindPackage.cmake ===
This file does not exist anymore. Instead, starting with CMake 2.8.6, every find_package() call which is not REQUIRED can be disabled by setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to TRUE. This makes this macro unnecessary.
* include(MacroFindPackage) -> delete
* macro_optional_find_package(Foo ...) -> find_package(Foo ... )

Revision as of 19:52, 8 July 2011

FindRUBY.cmake

This file does not exist anymore, use FindRuby.cmake coming with CMake instead. Most variables are the same. Below are the changes:

  • find_package(RUBY) -> find_package(Ruby)
  • RUBY_INCLUDE_PATH -> RUBY_INCLUDE_DIRS

MacroOptionalFindPackage.cmake

This file does not exist anymore. Instead, starting with CMake 2.8.6, every find_package() call which is not REQUIRED can be disabled by setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to TRUE. This makes this macro unnecessary.

  • include(MacroFindPackage) -> delete
  • macro_optional_find_package(Foo ...) -> find_package(Foo ... )