CMake: Respect BUILD_SHARED_LIBS
authorRuslan Baratov <ruslan_baratov@yahoo.com>
Tue, 10 Jul 2018 09:54:34 +0000 (12:54 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Aug 2018 07:39:05 +0000 (09:39 +0200)
commitc892795ea3601a6d210a325b2ac566b1c30d3334
treee592d99b424df310ccff5a45dd602aba91af4062
parentf826b4ce980014550da752a87fa86cc3d7e50b97
CMake: Respect BUILD_SHARED_LIBS

Use standard CMake variable BUILD_SHARED_LIBS instead of introducing
custom option CURL_STATICLIB.

Use '-DBUILD_SHARED_LIBS=%SHARED%' in appveyor.yml.

Reviewed-by: Sergei Nikulov
Closes #2755
CMakeLists.txt
appveyor.yml
lib/CMakeLists.txt
tests/server/CMakeLists.txt