pineapple-src/externals/vcpkg/ports/slikenet/vcpkg-cmake-wrapper.cmake
2022-07-23 03:01:36 +02:00

11 lines
400 B
CMake
Executable file

_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()