I have the immediate fix, can commit after lunch. The *right* fix is to iterate over the _require'ments list, I just took the shortcut of reducing this list to cmake (one of the most recent additions.) That patch will take a bit longer.
On Thu, Aug 29, 2019 at 7:50 AM Stefan Eissing <stefan.eiss...@greenbytes.de> wrote: > Please have a look at: > https://bz.apache.org/bugzilla/show_bug.cgi?id=63672 > > I think this is what you are seeing. We seem to be still looking for the > cmake file that works well in all cases. > > > Am 29.08.2019 um 14:31 schrieb Steve Hay <steve.m....@googlemail.com>: > > > > I'm getting errors about missing prerequisites when building > > httpd-2.4.41 on Windows using CMake (version 3.15.2). > > > > The modules in question are all optional so should simply be skipped > > rather than stopping the build (I'm building with -DENABLE_MODULES=a), > > but CMake is giving me an error: > > > > CMake Error at CMakeLists.txt:770 (IF): > > if given arguments: > > > > "NOT" "OPENSSL_FOUND" "CURL_FOUND" "JANSSON_FOUND" > > "HAVE_OPENSSL_102" "STREQUAL" "" > > > > Unknown arguments specified > > > > Building with the same command-line worked fine in 2.4.39: > > > > cmake -DCMAKE_INSTALL_PREFIX=D:\Dev\Temp\mp2\apache -G "NMake > > Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_MODULES=a > > > > Output is attached. > > > > Any ideas what is going wrong here? > > <out.txt> > >