mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
add pthread flag
This commit is contained in:
parent
ee7f9bdb03
commit
0359d1404c
|
@ -51,10 +51,13 @@ source_group(tests\\workbook FILES ${WORKBOOK_TESTS})
|
||||||
source_group(tests\\worksheet FILES ${WORKSHEET_TESTS})
|
source_group(tests\\worksheet FILES ${WORKSHEET_TESTS})
|
||||||
source_group(runner FILES ${RUNNER})
|
source_group(runner FILES ${RUNNER})
|
||||||
|
|
||||||
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
if(SHARED)
|
if(SHARED)
|
||||||
target_link_libraries(xlnt.test xlnt.shared)
|
target_link_libraries(xlnt.test xlnt.shared Threads::Threads)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(xlnt.test xlnt.static)
|
target_link_libraries(xlnt.test xlnt.static Threads::Threads)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
|
|
@ -307,7 +307,7 @@ struct agile_encryption_info
|
||||||
std::size_t hash_size;
|
std::size_t hash_size;
|
||||||
std::string cipher_algorithm;
|
std::string cipher_algorithm;
|
||||||
std::string cipher_chaining;
|
std::string cipher_chaining;
|
||||||
enum class hash_algorithm hash_algorithm;
|
enum hash_algorithm hash_algorithm;
|
||||||
std::vector<std::uint8_t> salt_value;
|
std::vector<std::uint8_t> salt_value;
|
||||||
std::vector<std::uint8_t> verifier_hash_input;
|
std::vector<std::uint8_t> verifier_hash_input;
|
||||||
std::vector<std::uint8_t> verifier_hash_value;
|
std::vector<std::uint8_t> verifier_hash_value;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user