Skip to content

Commit 6f06503

Browse files
authored
cmake: Rename library and install path (dashpay#17)
* cmake: Rename the library from libbls.a to libbls-dash.a * cmake: Rename install directory from chiabls to bls-dash Match the library name
1 parent fd3f193 commit 6f06503

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ if (GMP_FOUND)
3232
include_directories(${GMP_INCLUDES})
3333
endif(GMP_FOUND)
3434

35-
set(C_LIB ${CMAKE_BINARY_DIR}/libbls.a)
35+
set(C_LIB ${CMAKE_BINARY_DIR}/libbls-dash.a)
3636

37-
add_library(bls ${CMAKE_CURRENT_SOURCE_DIR}/privatekey.cpp)
37+
add_library(bls-dash ${CMAKE_CURRENT_SOURCE_DIR}/privatekey.cpp)
3838

3939
add_library(blstmp ${HEADERS}
4040
${CMAKE_CURRENT_SOURCE_DIR}/privatekey.cpp
@@ -74,17 +74,17 @@ add_custom_target(combined_custom
7474

7575
add_library(combined STATIC IMPORTED GLOBAL)
7676
add_dependencies(combined combined_custom)
77-
target_link_libraries(bls combined)
77+
target_link_libraries(bls-dash combined)
7878

7979
set_target_properties(combined
8080
PROPERTIES
8181
IMPORTED_LOCATION ${C_LIB}
8282
)
8383

8484
file(GLOB includes "${CMAKE_CURRENT_SOURCE_DIR}/*.hpp")
85-
install(DIRECTORY ${relic_SOURCE_DIR}/include/ DESTINATION include/chiabls)
86-
install(DIRECTORY ${relic_BINARY_DIR}/include/ DESTINATION include/chiabls)
87-
install(FILES ${includes} DESTINATION include/chiabls)
85+
install(DIRECTORY ${relic_SOURCE_DIR}/include/ DESTINATION include/bls-dash)
86+
install(DIRECTORY ${relic_BINARY_DIR}/include/ DESTINATION include/bls-dash)
87+
install(FILES ${includes} DESTINATION include/bls-dash)
8888
install(FILES ${C_LIB} DESTINATION lib)
8989

9090
if (BUILD_BLS_TESTS)

0 commit comments

Comments
 (0)