Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-218

CMakeLists.txt is overwriting GLOBCONFPATH

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: CMake build system
    • Labels:
      None
    • Environment:
      • Ubuntu 18.04
      • CMake 3.10.2
      • Sword SVN sources from 1.8.1 tag

      Description

      The CMakeLists.txt is overwriting the GLOBCONFPATH define of Sword.

      The result is that Sword only looks for /usr/local/etc/sword.conf instead of looking both for /etc/sword.conf AND /usr/local/etc/sword.conf.

      As a consequence, globally installed Sword modules are not found by SWMgr() unless a specific directory is passed to the C'tor or the global module path is augmented after construction.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tklein Tobias Klein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: