In dependencies/ryu/CMakeLists.txt, by calling add_library without the STATIC option, the choice between STATIC or SHARED is left to the BUILD_SHARED_LIBS option, set anywhere else in the parent CMake files.
However, since the CMake is currently not working with SHARED (at least on Win), thus implicitly restricting the build to STATIC only, might be worth to explicitly ask for STATIC?
I might be missing something.
I proposed the change in the original repo as well
In dependencies/ryu/CMakeLists.txt, by calling add_library without the
STATICoption, the choice betweenSTATICorSHAREDis left to theBUILD_SHARED_LIBSoption, set anywhere else in the parent CMake files.However, since the CMake is currently not working with
SHARED(at least on Win), thus implicitly restricting the build toSTATIConly, might be worth to explicitly ask forSTATIC?I might be missing something.
I proposed the change in the original repo as well