mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
0de461216d
* move boost out of the toolchain * move icu out of the toolchain * remove CURL from the toolchain (was already unreachable?) * remove gsl from toolchain * remove grpc from toolchain * version stuff * fix indent and missing endif() * version stuff * Revert changes to vcpkg.cmake * push port version * version stuff
11 lines
726 B
CMake
11 lines
726 B
CMake
_find_package(${ARGS})
|
|
if(GSL_FOUND AND TARGET GSL::gsl)
|
|
set_property( TARGET GSL::gslcblas APPEND PROPERTY IMPORTED_CONFIGURATIONS Release )
|
|
set_property( TARGET GSL::gsl APPEND PROPERTY IMPORTED_CONFIGURATIONS Release )
|
|
if( EXISTS "${GSL_LIBRARY_DEBUG}" AND EXISTS "${GSL_CBLAS_LIBRARY_DEBUG}")
|
|
set_property( TARGET GSL::gsl APPEND PROPERTY IMPORTED_CONFIGURATIONS Debug )
|
|
set_target_properties( GSL::gsl PROPERTIES IMPORTED_LOCATION_DEBUG "${GSL_LIBRARY_DEBUG}" )
|
|
set_property( TARGET GSL::gslcblas APPEND PROPERTY IMPORTED_CONFIGURATIONS Debug )
|
|
set_target_properties( GSL::gslcblas PROPERTIES IMPORTED_LOCATION_DEBUG "${GSL_CBLAS_LIBRARY_DEBUG}" )
|
|
endif()
|
|
endif() |