Skip to content

Commit

Permalink
bump version number in user example
Browse files Browse the repository at this point in the history
  • Loading branch information
cwsmith committed Dec 6, 2024
1 parent 5643b4d commit 303b7af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ set(SCOREC_PREFIX "" CACHE STRING "Directory where SCOREC is installed")
# If SCOREC_PREFIX was specified, only link to that directory,
# i.e. don't link to another installation in /usr/lib by mistake
if (SCOREC_PREFIX)
find_package(SCOREC 2.1.0 REQUIRED CONFIG PATHS ${SCOREC_PREFIX} NO_DEFAULT_PATH)
find_package(SCOREC 3.0.0 REQUIRED CONFIG PATHS ${SCOREC_PREFIX} NO_DEFAULT_PATH)
else()
# IF SCOREC_PREFIX was not specified, look in typical system directories,
# and also in CMAKE_PREFIX_PATH (environment variable)
find_package(
SCOREC #package name, has to be SCOREC
2.1.0 #version. can be omitted, and will match any installed version
3.0.0 #version. can be omitted, and will match any installed version
#greater than or equal to this one, as long as the major number
#is the same
REQUIRED #indicate that SCOREC is really needed to compile
Expand Down

0 comments on commit 303b7af

Please sign in to comment.