mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-28 05:26:04 +02:00
Merge 8c7ccb424c
into 92e4cd71be
This commit is contained in:
commit
ce6171b4ce
|
@ -331,6 +331,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: CMake generation
|
||||
run: cmake -S c -B c/build -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/target
|
||||
run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/target
|
||||
- name: CMake build / install
|
||||
run: cmake --build c/build --target install
|
||||
run: cmake --build build --target install
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.9)
|
||||
|
||||
project(libblake3
|
||||
VERSION 1.5.0
|
||||
DESCRIPTION "BLAKE3 C implementation"
|
||||
LANGUAGES C ASM
|
||||
)
|
||||
|
||||
include_directories(c)
|
||||
add_subdirectory(c)
|
|
@ -1,11 +1,3 @@
|
|||
cmake_minimum_required(VERSION 3.9)
|
||||
|
||||
project(libblake3
|
||||
VERSION 1.5.0
|
||||
DESCRIPTION "BLAKE3 C implementation"
|
||||
LANGUAGES C ASM
|
||||
)
|
||||
|
||||
include(FeatureSummary)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
|
@ -182,7 +174,7 @@ install(FILES
|
|||
)
|
||||
|
||||
configure_file(libblake3.pc.in libblake3.pc @ONLY)
|
||||
install(FILES "${CMAKE_BINARY_DIR}/libblake3.pc"
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libblake3.pc"
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
|
||||
# print feature summary
|
||||
|
|
Loading…
Reference in New Issue