Skip to content

Commit

Permalink
Removed redundant path hints
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmadsen committed Jul 31, 2020
1 parent 89ef5cd commit c0022c8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions make/likwid-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ add_library(likwid::likwid ALIAS likwid-library)
# if not found, will be LIKWID_INCLUDE_DIR-NOTFOUND
find_path(LIKWID_INCLUDE_DIR
NAMES likwid.h
HINTS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
PATHS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
HINTS ${_LIKWID_PATH_HINTS}
PATHS ${_LIKWID_PATH_HINTS}
PATH_SUFFIXES include
DOC "LIKWID profiler include directory"
NO_DEFAULT_PATH)

find_library(LIKWID_LIBRARY
NAMES likwid
PATH_SUFFIXES ${_LIKWID_LIB_SUFFIXES}
HINTS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
PATHS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
HINTS ${_LIKWID_PATH_HINTS}
PATHS ${_LIKWID_PATH_HINTS}
DOC "LIKWID library")

#------------------------------------------------------------------------------#
Expand Down Expand Up @@ -117,8 +117,8 @@ set(LIKWID_EXECUTABLE_OPTIONS
foreach(_EXE ${LIKWID_EXECUTABLE_OPTIONS})
find_program(LIKWID_${_EXE}_EXECUTABLE
NAMES likwid-${_EXE}
HINTS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
PATHS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
HINTS ${_LIKWID_PATH_HINTS}
PATHS ${_LIKWID_PATH_HINTS}
PATH_SUFFIXES bin
DOC "LIKWID ${_EXE} executable"
NO_DEFAULT_PATH)
Expand Down Expand Up @@ -163,8 +163,8 @@ foreach(_COMP ${likwid_FIND_COMPONENTS})
# find the library, e.g. likwid-lua, likwid-gotcha, likwidpin, etc.
find_library(LIKWID_${_COMP}_LIBRARY
NAMES likwid-${_COMP} likwid${_COMP}
HINTS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
PATHS ${LIKWID_ROOT_DIR} ${_LIKWID_PATH_HINTS}
HINTS ${_LIKWID_PATH_HINTS}
PATHS ${_LIKWID_PATH_HINTS}
DOC "LIKWID ${_COMP} library"
PATH_SUFFIXES ${_LIKWID_LIB_SUFFIXES})

Expand Down

0 comments on commit c0022c8

Please sign in to comment.