mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-05 08:18:26 -05:00
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()
|