diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-06-26 09:36:03 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-06-26 09:36:03 +0200 |
commit | d6d430491cc7f81945e4061d3ae3bbe67593c0a7 (patch) | |
tree | ea0b55882b9df456cc8106e3d748cee53bb44b49 /cmake/FindFgLib5.cmake | |
parent | 0c7f86b1fa01faab960093ab6b7841acd5b06345 (diff) | |
download | uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.tar.gz uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.tar.bz2 uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.tar.xz uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.zip |
Fix #71: remove pco, pf and ufo plugins
Diffstat (limited to 'cmake/FindFgLib5.cmake')
-rw-r--r-- | cmake/FindFgLib5.cmake | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/cmake/FindFgLib5.cmake b/cmake/FindFgLib5.cmake deleted file mode 100644 index 79964b7..0000000 --- a/cmake/FindFgLib5.cmake +++ /dev/null @@ -1,46 +0,0 @@ -FILE(TO_CMAKE_PATH "$ENV{SISODIR5}" SISODIR5) - -FIND_PATH(FgLib5_INCLUDE_DIR fgrab_define.h - PATHS - "$ENV{FGLIB5}/include" - "${CMAKE_INSTALL_PREFIX}/include" - "${SISODIR5}/include" - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/include" -) - -INCLUDE(SisoLibDir) -SISO_LIB_DIR("${SISODIR5}/lib" LIB_DIRS COMPILER_LIB_DIR) - -FIND_LIBRARY(FgLib5_LIBRARY NAMES fglib5 - PATHS - "$ENV{FGLIB5}/lib" - "$ENV{FGLIB5}" - "${CMAKE_INSTALL_PREFIX}/lib" - ${LIB_DIRS} - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/lib/${COMPILER_LIB_DIR}" - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/lib" -) - -IF (FgLib5_INCLUDE_DIR AND EXISTS "${FgLib5_INCLUDE_DIR}/fgrab_define.h") - FILE(STRINGS "${FgLib5_INCLUDE_DIR}/fgrab_define.h" FGLIB_H_VERSION REGEX "^#define[ \\t]*FGLIB_VERSION_STRING[ \\t]*\"[^\"]*\"") - IF (FGLIB_H_VERSION) - STRING(REGEX REPLACE "^#define FGLIB_VERSION_STRING[ \\t]*\"([^\"]*)\".*" "\\1" FgLib5_VERSION_STRING "${FGLIB_H_VERSION}") - ENDIF (FGLIB_H_VERSION) -ENDIF (FgLib5_INCLUDE_DIR AND EXISTS "${FgLib5_INCLUDE_DIR}/fgrab_define.h") - -INCLUDE(FindPackageHandleStandardArgs) -IF (CMAKE_VERSION VERSION_LESS 2.8.4) - FIND_PACKAGE_HANDLE_STANDARD_ARGS(FgLib5 DEFAULT_MSG FGLIB5_LIBRARY FGLIB5_INCLUDE_DIR) -ELSE (CMAKE_VERSION VERSION_LESS 2.8.4) - FIND_PACKAGE_HANDLE_STANDARD_ARGS(FgLib5 - REQUIRED_VARS FgLib5_LIBRARY FgLib5_INCLUDE_DIR - VERSION_VAR FgLib5_VERSION_STRING) -ENDIF (CMAKE_VERSION VERSION_LESS 2.8.4) - -SET(FgLib5_LIBRARIES ${FgLib5_LIBRARY}) - -# backward compatibility -SET(FGLIB5_LIBRARY ${FgLib5_LIBRARY}) -SET(FGLIB5_LIBRARIES ${FgLib5_LIBRARIES}) -SET(FGLIB5_INCLUDE_DIR ${FgLib5_INCLUDE_DIR}) -SET(FGLIB5_FOUND ${FgLib5_FOUND}) |