diff options
Diffstat (limited to 'vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake')
| -rw-r--r-- | vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake b/vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake new file mode 100644 index 0000000..237389f --- /dev/null +++ b/vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,11 @@ +_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()
|