mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-03 20:54:07 +01:00
White spaces
This commit is contained in:
parent
813577e4a6
commit
5b5c31437f
@ -6,7 +6,7 @@
|
|||||||
# TREXIO_INCLUDE_DIRS - The TREXIO include directories;
|
# TREXIO_INCLUDE_DIRS - The TREXIO include directories;
|
||||||
# TREXIO_LIBRARIES - The libraries needed to use TREXIO;
|
# TREXIO_LIBRARIES - The libraries needed to use TREXIO;
|
||||||
|
|
||||||
# If TREXIO has been installed in a non-standard location, one can set an
|
# If TREXIO has been installed in a non-standard location, one can set an
|
||||||
# environment variable $TREXIO_DIR in the current shell:
|
# environment variable $TREXIO_DIR in the current shell:
|
||||||
# $ export TREXIO_DIR=<custom_path>
|
# $ export TREXIO_DIR=<custom_path>
|
||||||
# to indicate the prefix used during the TREXIO installation
|
# to indicate the prefix used during the TREXIO installation
|
||||||
@ -45,13 +45,13 @@ set(TREXIO_SEARCH_PATHS
|
|||||||
/opt
|
/opt
|
||||||
)
|
)
|
||||||
|
|
||||||
find_path(TREXIO_INCLUDE_DIR
|
find_path(TREXIO_INCLUDE_DIR
|
||||||
NAMES trexio.h
|
NAMES trexio.h
|
||||||
HINTS $ENV{TREXIO_DIR}
|
HINTS $ENV{TREXIO_DIR}
|
||||||
PATH_SUFFIXES include/trexio include
|
PATH_SUFFIXES include/trexio include
|
||||||
PATHS ${TREXIO_SEARCH_PATHS}
|
PATHS ${TREXIO_SEARCH_PATHS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# No need to specify platform-specific prefix (e.g. libtrexio on Unix) or
|
# No need to specify platform-specific prefix (e.g. libtrexio on Unix) or
|
||||||
# suffix (e.g. .so on Unix or .dylib on MacOS) in NAMES. CMake takes care of that.
|
# suffix (e.g. .so on Unix or .dylib on MacOS) in NAMES. CMake takes care of that.
|
||||||
@ -70,8 +70,8 @@ INCLUDE(FindPackageHandleStandardArgs)
|
|||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TREXIO DEFAULT_MSG TREXIO_LIBRARY TREXIO_INCLUDE_DIR )
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TREXIO DEFAULT_MSG TREXIO_LIBRARY TREXIO_INCLUDE_DIR )
|
||||||
MARK_AS_ADVANCED(TREXIO_INCLUDE_DIR TREXIO_LIBRARY)
|
MARK_AS_ADVANCED(TREXIO_INCLUDE_DIR TREXIO_LIBRARY)
|
||||||
|
|
||||||
# Mot setting _INCLUDE_DIR and _LIBRARIES is considered a bug,
|
# Mot setting _INCLUDE_DIR and _LIBRARIES is considered a bug,
|
||||||
# see https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/How-To-Find-Libraries
|
# see https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/How-To-Find-Libraries
|
||||||
set(TREXIO_LIBRARIES ${TREXIO_LIBRARY})
|
set(TREXIO_LIBRARIES ${TREXIO_LIBRARY})
|
||||||
set(TREXIO_INCLUDE_DIRS ${TREXIO_INCLUDE_DIR})
|
set(TREXIO_INCLUDE_DIRS ${TREXIO_INCLUDE_DIR})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user