mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-04 17:08:25 -05:00
10 lines
420 B
CMake
Executable File
10 lines
420 B
CMake
Executable File
_find_package(${ARGS})
|
|
|
|
if(TARGET mimalloc AND NOT TARGET mimalloc-static)
|
|
add_library(mimalloc-static INTERFACE IMPORTED)
|
|
set_target_properties(mimalloc-static PROPERTIES INTERFACE_LINK_LIBRARIES mimalloc)
|
|
elseif(TARGET mimalloc-static AND NOT TARGET mimalloc)
|
|
add_library(mimalloc INTERFACE IMPORTED)
|
|
set_target_properties(mimalloc PROPERTIES INTERFACE_LINK_LIBRARIES mimalloc-static)
|
|
endif()
|