minecraft-pi-reborn/libreborn/CMakeLists.txt
TheBrokenRail d0c2b98ca6
Some checks failed
minecraft-pi-reborn/pipeline/head There was a failure building this commit
2.0
2021-06-17 17:32:24 -04:00

12 lines
324 B
CMake

project(libreborn)
add_library(reborn-headers INTERFACE)
target_include_directories(reborn-headers INTERFACE include)
if(BUILD_ARM_COMPONENTS)
add_library(reborn SHARED src/libreborn.c)
target_link_libraries(reborn dl reborn-headers)
# Install
install(TARGETS reborn DESTINATION "${MCPI_LIB_DIR}")
endif()