diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-24 16:10:38 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-24 17:35:38 -0300 |
commit | a9a1bfa16220446594f2caa600c10f588f995981 (patch) | |
tree | 50df28c9d10dfe13f617fded1f37b6370967c0c8 /FindGeneratorRunner.cmake.in | |
parent | f7a2b6099245ee47cd7f87b2ca7c0a8e513797d0 (diff) |
Remove FindGeneratorRunner.cmake file in favor of GeneratorRunnerConfig and Version .cmake files.
This is the right way to go, according to:
- http://www.cmake.org/pipermail/cmake/2009-April/028504.html
- http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'FindGeneratorRunner.cmake.in')
-rw-r--r-- | FindGeneratorRunner.cmake.in | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/FindGeneratorRunner.cmake.in b/FindGeneratorRunner.cmake.in deleted file mode 100644 index 3c975e304..000000000 --- a/FindGeneratorRunner.cmake.in +++ /dev/null @@ -1,21 +0,0 @@ -# - try to find GENERATORRUNNER -# GENERATORRUNNER_INCLUDE_DIR - Directories to include to use GENERATORRUNNER -# GENERATORRUNNER_LIBRARIES - Files to link against to use GENERATORRUNNER -# GENERATORRUNNER_FOUND - GENERATORRUNNER was found - -FIND_PATH(GENERATORRUNNER_INCLUDE_DIR generator.h "@CMAKE_INSTALL_PREFIX@/include/generatorrunner") -FIND_LIBRARY(GENERATORRUNNER_LIBRARY genrunner "@LIB_INSTALL_DIR@") - -IF (GENERATORRUNNER_INCLUDE_DIR AND GENERATORRUNNER_LIBRARY) - SET(GENERATORRUNNER_FOUND TRUE) -ENDIF (GENERATORRUNNER_INCLUDE_DIR AND GENERATORRUNNER_LIBRARY) - -IF (GENERATORRUNNER_FOUND) - MESSAGE(STATUS "Found GeneratorRunner: ${GENERATORRUNNER_LIBRARY}") - SET(GENERATORRUNNER_PLUGIN_DIR @generator_plugin_DIR@) - SET(GENERATORRUNNER_VERSION "@generator_VERSION@") -ELSE (GENERATORRUNNER_FOUND) - IF (GeneratorRunner_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could not find GeneratorRunner") - ENDIF (GeneratorRunner_FIND_REQUIRED) -ENDIF (GENERATORRUNNER_FOUND) |