-
Notifications
You must be signed in to change notification settings - Fork 425
Description
Thanks for this nice library.
I package your library for Arch Linux. Arch no longer ships static boost libraries and the tests in your library linked statically to the boost libs. To resolve that, I modified the CMakeLists as follows:
mv ../CMakeLists.txt ../CMakeLists.txt.org
sed '8 s/ON/OFF/' ../CMakeLists.txt.org > ../CMakeLists.txt
mv ../libs/network/test/CMakeLists.txt ../libs/network/test/CMakeLists.txt.org
sed '18 i ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)' ../libs/network/test/CMakeLists.txt.org > ../libs/network/test/CMakeLists.txt
mv ../libs/network/test/uri/CMakeLists.txt ../libs/network/test/uri/CMakeLists.txt.org
sed '17 i ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)' ../libs/network/test/uri/CMakeLists.txt.org > ../libs/network/test/uri/CMakeLists.txt
mv ../libs/network/test/http/CMakeLists.txt ../libs/network/test/http/CMakeLists.txt.org
sed '22 i ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)' ../libs/network/test/http/CMakeLists.txt.org > ../libs/network/test/http/CMakeLists.txt.2
sed '50d' ../libs/network/test/http/CMakeLists.txt.2 > ../libs/network/test/http/CMakeLists.txt
With this last line, I remove server_async_run_stop_concurrency from this cmake statement:
set ( SERVER_API_TESTS
server_constructor_test
server_async_run_stop_concurrency
)
because otherwise compilation fails. I don't know how to prevent this compilation error otherwise. Any suggestions?
Thanks,
Theo.