| 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 | ||
| + | |||
| + | === MacroAddCompileFlags.cmake === | ||
| + | |||
| + | This file has been removed. Use set_property(.. APPEND_STRING) instead (new in CMake 2.8.6). | ||
| + | |||
| + | * include(MacroAddCompileFlags) -> delete | ||
| + | * macro_add_compile_flags(target "-O2 -g") -> set_property(TARGET target APPEND_STRING PROPERTY COMPILE_FLAGS " -O2 -g") | ||
| + | |||
| + | === MacroAddLinkFlags.cmake === | ||
| + | |||
| + | This file has been removed. Use set_property(.. APPEND_STRING) instead (new in CMake 2.8.6). | ||
| + | |||
| + | * include(MacroAddLinkFlags) -> delete | ||
| + | * macro_add_link_flags(target "-no-rpath") -> set_property(TARGET target APPEND_STRING PROPERTY LINK_FLAGS " -no-rpath") | ||
=== MacroAdditionalCleanFiles.cmake === | === MacroAdditionalCleanFiles.cmake === | ||
Contents |
This file does not exist anymore, use FindRuby.cmake coming with CMake instead. Most variables are the same. Below are the changes:
This file has been removed. Use set_property(.. APPEND_STRING) instead (new in CMake 2.8.6).
This file has been removed. Use set_property(.. APPEND_STRING) instead (new in CMake 2.8.6).
This file has been removed. Use set_property(... APPEND ...) instead.
This file is now part of the extra-cmake-modules package and thus has been renamed to ECMOptionalAddSubdirectory.cmake
This file has been removed, the purpose was broken.
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.
This file has been merged into CMake, but has been renamed to CMakePushCheckState.cmake.