Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.16k stars 93 forks source link

build system regression: RESTINIO_USE_EXTERNAL_SOBJECTIZER no longer available #207

Closed Apteryks closed 10 months ago

Apteryks commented 10 months ago

Hello!

There used to be in 0.6 the RESTINIO_USE_EXTERNAL_SOBJECTIZER CMake option to allow using a system provided sobjectizer library; that appears to have been removed with 0.7, and it doesn't seem possible anymore to select a system version to use instead of the bundled (source) copy.

Thank you!

eao197 commented 10 months ago

Hi!

The branch 0.7-dev-0.7.2-issue-208 is no contains a version that supports RESTINIO_DEP_SOBJECTIZER option for CMake.

It has three available values:

If RESTINIO_DEP_SOBJECTIZER is system the RESTINIO_SOBJECTIZER_LIB_LINK_NAME has to be specified manually. An example can be seen here.

eao197 commented 10 months ago

The fix is now a part of v.0.7.2. Fill free to reopen the issue if something goes wrong for you.

Apteryks commented 8 months ago

Tested fine with -DRESTINIO_DEP_SOBJECTIZER=find after updating sobjectizer to 5.8.2. Thanks!