mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
3fadafface
* [many ports] Updates 2019.05.24 * Update SHA512 and resolve conflict for ebml and matroska * [avro-c]Fix build error caused by jansson upgrades. * [xxhash]Update to the next version to fix build error.(xxhash issue:#179) * Fix failures and undo asio * [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches * Update REF * Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes * [flann, fastcdr] Fix old patches and build error. * [flann, fastcdr] Fix build error. * Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes * [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error. * fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi * fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers * undo libmupdf forge kd-soap qca * [mosquitto] Fix installation of import libs * [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes * [fastcdr] Minimize patch * [many ports] Revert trivial changes * [libyaml] Switch to non-dist tag * [sqlite-modern-cpp] Track master due to infrequent release * [nano-signal-slot] Revert downgrade * [openvpn3] Bump control version to account for portfile change * [sqlite-modern-cpp] Fixup wrong hash * [mosquitto] Commit missing patch
21 lines
1.0 KiB
Diff
21 lines
1.0 KiB
Diff
diff --git a/lang/c/src/CMakeLists.txt b/lang/c/src/CMakeLists.txt
|
|
index c21f1ce..accb0e3 100644
|
|
--- a/lang/c/src/CMakeLists.txt
|
|
+++ b/lang/c/src/CMakeLists.txt
|
|
@@ -85,13 +85,13 @@ source_group(Avro FILES ${AVRO_SRC})
|
|
string(REPLACE ":" "." LIBAVRO_DOT_VERSION ${LIBAVRO_VERSION})
|
|
|
|
add_library(avro-static STATIC ${AVRO_SRC})
|
|
-target_link_libraries(avro-static ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
|
|
+target_link_libraries(avro-static jansson::jansson ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
|
|
set_target_properties(avro-static PROPERTIES OUTPUT_NAME avro)
|
|
|
|
if (NOT WIN32)
|
|
# TODO: Create Windows DLLs. See http://www.cmake.org/Wiki/BuildingWinDLL
|
|
add_library(avro-shared SHARED ${AVRO_SRC})
|
|
-target_link_libraries(avro-shared ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
|
|
+target_link_libraries(avro-shared jansson::jansson ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
|
|
set_target_properties(avro-shared PROPERTIES
|
|
OUTPUT_NAME avro
|
|
SOVERSION ${LIBAVRO_DOT_VERSION})
|