From 5b5c31437f1cb353457bbf95750d07c9e3990090 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Sat, 29 Oct 2022 16:24:30 +0200 Subject: [PATCH] White spaces --- cmake/FindTREXIO.cmake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmake/FindTREXIO.cmake b/cmake/FindTREXIO.cmake index 9c847a3..a2aa9c4 100644 --- a/cmake/FindTREXIO.cmake +++ b/cmake/FindTREXIO.cmake @@ -6,7 +6,7 @@ # TREXIO_INCLUDE_DIRS - The TREXIO include directories; # 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: # $ export TREXIO_DIR= # to indicate the prefix used during the TREXIO installation @@ -45,13 +45,13 @@ set(TREXIO_SEARCH_PATHS /opt ) -find_path(TREXIO_INCLUDE_DIR - NAMES trexio.h +find_path(TREXIO_INCLUDE_DIR + NAMES trexio.h HINTS $ENV{TREXIO_DIR} PATH_SUFFIXES include/trexio include PATHS ${TREXIO_SEARCH_PATHS} ) - + # 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. @@ -70,8 +70,8 @@ INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(TREXIO DEFAULT_MSG TREXIO_LIBRARY TREXIO_INCLUDE_DIR ) 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 set(TREXIO_LIBRARIES ${TREXIO_LIBRARY}) -set(TREXIO_INCLUDE_DIRS ${TREXIO_INCLUDE_DIR}) +set(TREXIO_INCLUDE_DIRS ${TREXIO_INCLUDE_DIR})