vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake
Phoebe f80c61927b
[slikenet] Add cmake config and targets file ()
* [slikenet] Add cmake config and targets file

* Add vcpkg-cmake-wrapper
2020-06-17 11:18:54 -07:00

12 lines
400 B
CMake

_find_package(${ARGS})
if(NOT TARGET SLikeNet AND TARGET SLikeNetDLL)
add_library(SLikeNet INTERFACE IMPORTED)
set_target_properties(SLikeNet PROPERTIES INTERFACE_LINK_LIBRARIES SLikeNetDLL)
endif()
if(NOT TARGET SLikeNet AND TARGET SLikeNetLibStatic)
add_library(SLikeNet INTERFACE IMPORTED)
set_target_properties(SLikeNet PROPERTIES INTERFACE_LINK_LIBRARIES SLikeNetLibStatic)
endif()