Skip to content

Commit

Permalink
Merge pull request #4 from hernando/master
Browse files Browse the repository at this point in the history
Fixing Findhwloc.cmake for renaming
  • Loading branch information
eile committed Jan 26, 2013
2 parents 8ca5c84 + 9f7bde4 commit 7e33e75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Findhwloc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ endif()

if(hwloc_FIND_VERSION)
if(hwloc_FIND_VERSION_EXACT)
pkg_check_modules(HWLOC ${_hwloc_QUIET} hwloc=${hwloc_FIND_VERSION})
pkg_check_modules(hwloc ${_hwloc_QUIET} hwloc=${hwloc_FIND_VERSION})
else()
pkg_check_modules(HWLOC ${_hwloc_QUIET} hwloc>=${hwloc_FIND_VERSION})
pkg_check_modules(hwloc ${_hwloc_QUIET} hwloc>=${hwloc_FIND_VERSION})
endif()
else()
pkg_check_modules(HWLOC ${_hwloc_QUIET} hwloc)
pkg_check_modules(hwloc ${_hwloc_QUIET} hwloc)
endif()

if(hwloc_FOUND)
Expand Down

0 comments on commit 7e33e75

Please sign in to comment.