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

Fix CMake syntax error in config_lib

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 5.1.0, 5.0.2, 4.4.9
    • Component/s: None
    • Labels:
      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

            Assignee:
            alison.felizzi Alison Felizzi
            Reporter:
            alison.felizzi Alison Felizzi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: