mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 11:34:32 +00:00
The Core5Compat module is still required for QTextCodec and some difficult remaining QRegExp -> QRegularExpression migrations.
29 lines
835 B
CMake
29 lines
835 B
CMake
# qca-softstore
|
|
|
|
enable_plugin("softstore")
|
|
set(QCA_SOFTSTORE_SOURCES qca-softstore.cpp)
|
|
|
|
add_library(qca-softstore ${PLUGIN_TYPE} ${QCA_SOFTSTORE_SOURCES})
|
|
|
|
if(APPLE AND ${PLUGIN_TYPE} STREQUAL "MODULE")
|
|
set_property(TARGET qca-softstore PROPERTY SUFFIX ".dylib")
|
|
endif()
|
|
|
|
add_definitions(${SOFTSTOREH_DEFINITIONS})
|
|
include_directories(${SOFTSTOREH_INCLUDE_DIR})
|
|
if(QT6)
|
|
target_link_libraries(qca-softstore Qt6::Core)
|
|
else()
|
|
target_link_libraries(qca-softstore Qt5::Core)
|
|
endif()
|
|
target_link_libraries(qca-softstore ${QCA_LIB_NAME})
|
|
|
|
if(NOT DEVELOPER_MODE)
|
|
install(TARGETS qca-softstore
|
|
LIBRARY DESTINATION "${QCA_CRYPTO_INSTALL_DIR}"
|
|
ARCHIVE DESTINATION "${QCA_CRYPTO_INSTALL_DIR}"
|
|
RUNTIME DESTINATION "${QCA_CRYPTO_INSTALL_DIR}")
|
|
|
|
install_pdb(qca-softstore ${QCA_CRYPTO_INSTALL_DIR})
|
|
endif()
|