C++ expert needed / make/compile options

Hey,
I’m trying to package the Orthanc Server for openSUSE. As a preprequisite I need the civetweb-package (which is not yet build for oS either)
https://build.opensuse.org/package/show/home:DocB:Orthanc/civetweb

I’m currently stuck in the make process, as it does not find its include files. If I add an option for INCLUDEDIR, it fails with an ‘empty variable name’.
Any C++ expert willing to take a look?
Thanks in advance!

Hi
Did you see this to add options?
https://github.com/civetweb/civetweb/blob/master/docs/Building.md

Have you tried just make build?

Perhaps just switch to cmake and add your options that way?

Yes, I tried just ‘make build’ as well - different error in OBS compared to a local build, if I issue the command from the source directory (/var/tmp/build-root/openSUSE_Leap_15.0-x86_64/home/abuild/rpmbuild/BUILD/civetweb-1.11/ in that case)
cmake…no idea. Sorry, never programmed in C++

Hi
Add options with a -D and append the cmakelists.txt bit…

eg;


%cmake -DCMAKE_BUILD_TYPE=RELEASE \
        -DCIVETWEB_ENABLE_CXX=ON \
           ..

Hi
Had a quick look, this will get you started…


%build
rm -rf build
%cmake -DCMAKE_BUILD_TYPE=RELEASE \
       -DCIVETWEB_BUILD_TESTING=OFF
make %{?_smp_mflags}

%install
%cmake_install

Hi
Here you go… https://build.opensuse.org/request/show/661665