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

Fix CMake syntax error in config_lib

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.0.2, 4.4.9, 5.1.0-rc0
    • None
    • None

    Description

      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()

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: