mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
f80c61927b
* [slikenet] Add cmake config and targets file * Add vcpkg-cmake-wrapper
12 lines
400 B
CMake
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()
|