Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7890

Fix CMake syntax error in config_lib

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.0.2, 4.4.9, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      Fix a small syntax error around incorrectly de-referencingĀ  theĀ has_lib_${config_name} variable. The following patches fixes the issue:

      diff --git a/build_cmake/helpers.cmake b/build_cmake/helpers.cmake
      index 559301828..4dc449c07 100644
      --- a/build_cmake/helpers.cmake
      +++ b/build_cmake/helpers.cmake
      @@ -434,7 +434,7 @@ function(config_lib config_name description)
                           message("-- Looking for library ${CONFIG_LIB_LIB}: found ${has_lib_${config_name}}, include path ${include_path_${config_name}}")
                           include_directories(${include_path_${config_name}})
                       else()
      -                    message("-- Looking for library ${CONFIG_LIB_LIB}: found ${has_lib$_{config_name}}")
      +                    message("-- Looking for library ${CONFIG_LIB_LIB}: found ${has_lib_${config_name}}")
                       endif()
                       unset(include_path_${config_name} CACHE)
                   else()

            Assignee:
            alison.felizzi@mongodb.com Alison Felizzi (Inactive)
            Reporter:
            alison.felizzi@mongodb.com Alison Felizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: