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: p...@hermes.cam.ac.uk Reporter: david.gausm...@measx.com CC: pcre-dev@exim.org 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. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev