[pcre-dev] [Bug 1868] New: Bug in CMakeLists.txt

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 1868] Bug in CMakeLists.txt
Subject: [pcre-dev] [Bug 1868] New: Bug in CMakeLists.txt
https://bugs.exim.org/show_bug.cgi?id=1868

            Bug ID: 1868
           Summary: Bug in CMakeLists.txt
           Product: PCRE
           Version: 10.22 (PCRE2)
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: david.gausmann@???
                CC: pcre-dev@???


Hello Philip,

I've found a bug in CMakeLists.txt in version 10.22 at line 193, which causes
error messages in CMake.
You wrote:

IF(MSVC)
  OPTION(PCRE_STATIC_RUNTIME OFF CACHE BOOL
    "ON=Compile against the static runtime (/MT)."
    OFF)
  OPTION(INSTALL_MSVC_PDB
         "ON=Install .pdb files built by MSVC, if generated"
         OFF)
ENDIF(MSVC)


The first OPTION syntax is wrong.
Instead it should be:

IF(MSVC)
  OPTION(PCRE_STATIC_RUNTIME
    "ON=Compile against the static runtime (/MT)."
    OFF)
  OPTION(INSTALL_MSVC_PDB
         "ON=Install .pdb files built by MSVC, if generated"
         OFF)
ENDIF(MSVC)



Kind Regards
David Gausmann

--
You are receiving this mail because:
You are on the CC list for the bug.