32 lines
740 B
CMake
32 lines
740 B
CMake
include (ExternalProject)
|
|
|
|
#--------------CRC++------------------------------
|
|
add_library(crcpp INTERFACE)
|
|
|
|
target_include_directories(crcpp INTERFACE
|
|
$<BUILD_INTERFACE:${CRCPP_ROOT}/inc>
|
|
$<INSTALL_INTERFACE:include/Seele/>
|
|
)
|
|
|
|
install(FILES
|
|
${CRCPP_ROOT}/inc/CRC.h
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Seele
|
|
)
|
|
|
|
add_library(metal INTERFACE)
|
|
target_include_directories(metal INTERFACE
|
|
$<BUILD_INTERFACE:${METAL_ROOT}/>
|
|
$<INSTALL_INTERFACE:include>
|
|
)
|
|
install(DIRECTORY
|
|
${METAL_ROOT}/
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/include
|
|
)
|
|
target_link_libraries(metal INTERFACE
|
|
"-framework Metal"
|
|
"-framework MetalKit"
|
|
"-framework AppKit"
|
|
"-framework Foundation"
|
|
"-framework QuartzCore"
|
|
)
|