Closed Apteryks closed 9 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:
local
, as usual, the source code of SObjectizer is expected to be in the source tree;find
, the CMake's find_package
will be used. It's expected that SObjectizer is compiled and installed somewhere via CMake;system
. It's expected that SObjectizer is installed in the system by using system's package manager.If RESTINIO_DEP_SOBJECTIZER
is system
the RESTINIO_SOBJECTIZER_LIB_LINK_NAME
has to be specified manually. An example can be seen here.
The fix is now a part of v.0.7.2. Fill free to reopen the issue if something goes wrong for you.
Tested fine with -DRESTINIO_DEP_SOBJECTIZER=find
after updating sobjectizer to 5.8.2. Thanks!
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!