Files

32 lines
740 B
CMake
Raw Permalink Normal View History

2020-02-05 20:58:58 +01:00
include (ExternalProject)
2022-11-22 22:11:37 +01:00
#--------------CRC++------------------------------
add_library(crcpp INTERFACE)
target_include_directories(crcpp INTERFACE
$<BUILD_INTERFACE:${CRCPP_ROOT}/inc>
2024-04-18 13:33:35 +02:00
$<INSTALL_INTERFACE:include/Seele/>
2022-11-22 22:11:37 +01:00
)
install(FILES
${CRCPP_ROOT}/inc/CRC.h
2024-04-18 13:33:35 +02:00
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Seele
2022-11-22 22:11:37 +01:00
)
2024-03-18 15:28:56 +01:00
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"
)