darling-energytrace/CMakeLists.txt
2020-07-05 13:32:09 -04:00

13 lines
340 B
CMake

project(energytrace)
set(DYLIB_INSTALL_NAME "/usr/lib/libenergytrace.dylib")
set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0")
add_darling_library(energytrace SHARED
src/energytrace.c
)
make_fat(energytrace)
target_link_libraries(energytrace system)
install(TARGETS energytrace DESTINATION libexec/darling/usr/lib)