|
@@ -216,24 +216,24 @@ add_library( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_library( |
|
|
add_library( |
|
|
pqclean |
|
|
|
|
|
|
|
|
pqc |
|
|
SHARED |
|
|
SHARED |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_library( |
|
|
add_library( |
|
|
pqclean_s |
|
|
|
|
|
|
|
|
pqc_s |
|
|
STATIC |
|
|
STATIC |
|
|
) |
|
|
) |
|
|
get_property(OBJ_LIBS GLOBAL PROPERTY obj_libs) |
|
|
get_property(OBJ_LIBS GLOBAL PROPERTY obj_libs) |
|
|
|
|
|
|
|
|
target_link_libraries( |
|
|
target_link_libraries( |
|
|
pqclean |
|
|
|
|
|
|
|
|
pqc |
|
|
common |
|
|
common |
|
|
${OBJ_LIBS} |
|
|
${OBJ_LIBS} |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
target_link_libraries( |
|
|
target_link_libraries( |
|
|
pqclean_s |
|
|
|
|
|
|
|
|
pqc_s |
|
|
common |
|
|
common |
|
|
${OBJ_LIBS} |
|
|
${OBJ_LIBS} |
|
|
) |
|
|
) |
|
@@ -248,7 +248,7 @@ target_link_libraries( |
|
|
ut |
|
|
ut |
|
|
gtest |
|
|
gtest |
|
|
gtest_main |
|
|
gtest_main |
|
|
pqclean_s) |
|
|
|
|
|
|
|
|
pqc_s) |
|
|
|
|
|
|
|
|
target_include_directories( |
|
|
target_include_directories( |
|
|
ut PRIVATE |
|
|
ut PRIVATE |
|
@@ -256,10 +256,10 @@ target_include_directories( |
|
|
${CMAKE_SOURCE_DIR}) |
|
|
${CMAKE_SOURCE_DIR}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS pqclean pqclean_s |
|
|
|
|
|
|
|
|
install(TARGETS pqc pqc_s |
|
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE WORLD_READ WORLD_WRITE |
|
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE WORLD_READ WORLD_WRITE |
|
|
LIBRARY DESTINATION lib |
|
|
LIBRARY DESTINATION lib |
|
|
ARCHIVE DESTINATION lib) |
|
|
ARCHIVE DESTINATION lib) |
|
|
install(FILES |
|
|
install(FILES |
|
|
${QRS_PUBLIC_INC} |
|
|
${QRS_PUBLIC_INC} |
|
|
DESTINATION include/pqclean) |
|
|
|
|
|
|
|
|
DESTINATION include/pqc) |