Building both static and shared targets fails with the following error:
CMake Error at src/served/CMakeLists.txt:79 (ADD_LIBRARY):
ADD_LIBRARY cannot create target "served" because another target with the
same name already exists. The existing target is a static library created
in source directory "/media/SPHEREA/Git/tns-mars_aisc/served/src/served".
See documentation for policy CMP0002 for more details.
Correction validated with :
cmake -DSERVED_BUILD_SHARED=ON -DSERVED_BUILD_STATIC=ON -DSERVED_BUILD_EXAMPLES=OFF -DSERVED_BUILD_RPM=ON ../served
make
Building both static and shared targets fails with the following error:
Correction validated with :
Resulting RPM contents to validate the release: