Changeset 19977


Ignore:
Timestamp:
Jul 27, 2020, 6:49:50 PM (3 weeks ago)
Author:
tbretz
Message:
Make proper use of PATH_SUFFIXES
Location:
trunk/FACT++/cmake
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/cmake/FindCCfits.cmake

    r18994 r19977  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(CCFITS_INCLUDE_DIR NAMES CCfits/CCfits PATHS ${CCFITS_INCLUDE_DIRS})
     6FIND_PATH(CCFITS_INCLUDE_DIR NAMES CCfits PATHS ${CCFITS_INCLUDE_DIRS} PATH_SUFFIXES CCfits)
    77FIND_LIBRARY(CCFITS_LIBRARY NAMES CCfits PATHS ${CCFITS_LIBRARY_DIRS})
    88
  • trunk/FACT++/cmake/FindHighlight.cmake

    r19885 r19977  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(HIGHLIGHT_INCLUDE_DIR NAMES srchilite/sourcehighlight.h PATHS ${HIGHLIGHT_INCLUDE_DIRS})
     6FIND_PATH(HIGHLIGHT_INCLUDE_DIR NAMES sourcehighlight.h PATHS ${HIGHLIGHT_INCLUDE_DIRS} PATH_SUFFIXES srchilite)
    77FIND_LIBRARY(HIGHLIGHT_LIBRARY NAMES source-highlight PATHS ${HIGHLIGHT_LIBRARY_DIRS})
    88
  • trunk/FACT++/cmake/FindMySQL++.cmake

    r18994 r19977  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(MYSQLPP_INCLUDE_DIR NAMES mysql++/mysql++.h PATHS ${MYSQLPP_INCLUDE_DIRS})
     6FIND_PATH(MYSQLPP_INCLUDE_DIR NAMES mysql++.h PATHS ${MYSQLPP_INCLUDE_DIRS} PATH_SUFFIXES mysql++)
    77FIND_LIBRARY(MYSQLPP_LIBRARY NAMES mysqlpp PATHS ${MYSQLPP_LIBRARY_DIRS})
    88
  • trunk/FACT++/cmake/FindMySQL.cmake

    r19396 r19977  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(MYSQL_INCLUDE_DIR NAMES mysql.h PATHS ${MYSQL_INCLUDE_DIRS} /usr/include/mysql)
     6FIND_PATH(MYSQL_INCLUDE_DIR NAMES mysql.h PATHS ${MYSQL_INCLUDE_DIRS} PATH_SUFFIXES mysql)
    77FIND_LIBRARY(MYSQL_LIBRARY NAMES mysqlclient PATHS ${MYSQL_LIBRARY_DIRS})
    88
  • trunk/FACT++/cmake/FindNova.cmake

    r18994 r19977  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(NOVA_INCLUDE_DIR NAMES libnova/libnova.h PATHS ${NOVA_INCLUDE_DIRS})
     6FIND_PATH(NOVA_INCLUDE_DIR NAMES libnova.h PATHS ${NOVA_INCLUDE_DIRS} PATH_SUFFIXES libnova)
    77FIND_LIBRARY(NOVA_LIBRARY NAMES nova PATHS ${NOVA_LIBRARY_DIRS})
    88
  • trunk/FACT++/cmake/FindReadline.cmake

    r18994 r19977  
    44# Try to locate the package in the default path
    55# and in the path provided by pkg-config
    6 FIND_PATH(READLINE_INCLUDE_DIR NAMES readline/readline.h PATHS ${READLINE_INCLUDEDIR})
     6FIND_PATH(READLINE_INCLUDE_DIR NAMES readline.h PATHS ${READLINE_INCLUDEDIR} PATH_SUFFIXES readline)
    77FIND_LIBRARY(READLINE_LIBRARY NAMES readline PATHS ${READLINE_LIBDIR})
    88
Note: See TracChangeset for help on using the changeset viewer.