libboost_iostreams-variant-vc142-mt-gd-x64-1_72-static.cmake 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Generated by Boost 1.72.0
  2. # address-model=64
  3. if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  4. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "64 bit, need 32")
  5. return()
  6. endif()
  7. # layout=versioned
  8. # toolset=vc142
  9. if(Boost_COMPILER)
  10. if(NOT Boost_COMPILER STREQUAL "vc142" AND NOT Boost_COMPILER STREQUAL "-vc142")
  11. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "vc142, Boost_COMPILER=${Boost_COMPILER}")
  12. return()
  13. endif()
  14. else()
  15. if(BOOST_DETECTED_TOOLSET AND NOT BOOST_DETECTED_TOOLSET STREQUAL "vc142")
  16. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "vc142, detected ${BOOST_DETECTED_TOOLSET}, set Boost_COMPILER to override")
  17. return()
  18. endif()
  19. endif()
  20. # link=static
  21. if(DEFINED Boost_USE_STATIC_LIBS)
  22. if(NOT Boost_USE_STATIC_LIBS)
  23. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "static, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
  24. return()
  25. endif()
  26. else()
  27. if(NOT WIN32)
  28. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "static, default is shared, set Boost_USE_STATIC_LIBS=ON to override")
  29. return()
  30. endif()
  31. endif()
  32. # runtime-link=shared
  33. if(Boost_USE_STATIC_RUNTIME)
  34. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
  35. return()
  36. endif()
  37. # runtime-debugging=on
  38. if(NOT "${Boost_USE_DEBUG_RUNTIME}" STREQUAL "" AND NOT Boost_USE_DEBUG_RUNTIME)
  39. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "debug runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
  40. return()
  41. endif()
  42. # threading=multi
  43. if(NOT "${Boost_USE_MULTITHREADED}" STREQUAL "" AND NOT Boost_USE_MULTITHREADED)
  44. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "multithreaded, Boost_USE_MULTITHREADED=${Boost_USE_MULTITHREADED}")
  45. return()
  46. endif()
  47. # variant=debug
  48. if(NOT "${Boost_USE_DEBUG_LIBS}" STREQUAL "" AND NOT Boost_USE_DEBUG_LIBS)
  49. _BOOST_SKIPPED("libboost_iostreams-vc142-mt-gd-x64-1_72.lib" "debug, Boost_USE_DEBUG_LIBS=${Boost_USE_DEBUG_LIBS}")
  50. return()
  51. endif()
  52. if(Boost_VERBOSE OR Boost_DEBUG)
  53. message(STATUS " [x] libboost_iostreams-vc142-mt-gd-x64-1_72.lib")
  54. endif()
  55. # Target file name: libboost_iostreams-vc142-mt-gd-x64-1_72.lib
  56. get_target_property(__boost_imploc Boost::iostreams IMPORTED_LOCATION_DEBUG)
  57. if(__boost_imploc)
  58. message(WARNING "Target Boost::iostreams already has an imported location '${__boost_imploc}', which will be overwritten with '${_BOOST_LIBDIR}/libboost_iostreams-vc142-mt-gd-x64-1_72.lib'")
  59. endif()
  60. unset(__boost_imploc)
  61. set_property(TARGET Boost::iostreams APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
  62. set_target_properties(Boost::iostreams PROPERTIES
  63. IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG CXX
  64. IMPORTED_LOCATION_DEBUG "${_BOOST_LIBDIR}/libboost_iostreams-vc142-mt-gd-x64-1_72.lib"
  65. )
  66. list(APPEND _BOOST_IOSTREAMS_DEPS bzip2 zlib headers)