vcpkg/ports/libsbml/libsbml-config.cmake
Kai Pastor 4ff2d52566
[check,libsbml] Update, port fixes (#34656)
* [libsbml] Update, port fixes

* [check] Follow VCPKG_LIBRARY_LINKAGE

* [check] Don't install checkmk

* [check] Burn-in dllimport

* [libsbml] Devendor dirent

* [libsbml] Burn-in library linkage

* Finish

* Fix typo

* [libsbml] Shorten patch
2023-10-24 09:09:15 -07:00

7 lines
213 B
CMake

include(CMakeFindDependencyMacro)
find_dependency(@name@ CONFIG)
if(NOT TARGET libsbml)
add_library(libsbml INTERFACE IMPORTED)
target_link_libraries(libsbml INTERFACE $<TARGET_NAME:@name@>)
endif()