You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
983 B

  1. --- a/src/CMakeLists.txt
  2. +++ b/src/CMakeLists.txt
  3. @@ -129,20 +129,20 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/avro-c.pc
  4. DESTINATION lib/pkgconfig)
  5. add_executable(avrocat avrocat.c)
  6. -target_link_libraries(avrocat avro-static)
  7. +target_link_libraries(avrocat avro-shared)
  8. install(TARGETS avrocat RUNTIME DESTINATION bin)
  9. add_executable(avroappend avroappend.c)
  10. -target_link_libraries(avroappend avro-static)
  11. +target_link_libraries(avroappend avro-shared)
  12. install(TARGETS avroappend RUNTIME DESTINATION bin)
  13. if (NOT WIN32)
  14. #TODO: Port getopt() to Windows to compile avropipe.c and avromod.c
  15. add_executable(avropipe avropipe.c)
  16. -target_link_libraries(avropipe avro-static)
  17. +target_link_libraries(avropipe avro-shared)
  18. install(TARGETS avropipe RUNTIME DESTINATION bin)
  19. add_executable(avromod avromod.c)
  20. -target_link_libraries(avromod avro-static)
  21. +target_link_libraries(avromod avro-shared)
  22. install(TARGETS avromod RUNTIME DESTINATION bin)
  23. endif(NOT WIN32)