diff options
| author | saturneric <[email protected]> | 2025-04-30 21:54:42 +0000 | 
|---|---|---|
| committer | saturneric <[email protected]> | 2025-04-30 21:54:42 +0000 | 
| commit | 0a04125026893bcfadc65d4cbdfae70784db3015 (patch) | |
| tree | a85ded684149e8149370be1c15594f804adf33e4 /src/m_paper_key | |
| parent | chore: upgrade to v2.1.8 (diff) | |
| download | Modules-0a04125026893bcfadc65d4cbdfae70784db3015.tar.gz Modules-0a04125026893bcfadc65d4cbdfae70784db3015.zip | |
refactor: switch to in project submodule build model
Diffstat (limited to 'src/m_paper_key')
| -rw-r--r-- | src/m_paper_key/CMakeLists.txt | 11 | 
1 files changed, 7 insertions, 4 deletions
| diff --git a/src/m_paper_key/CMakeLists.txt b/src/m_paper_key/CMakeLists.txt index f7d0c03..f388a40 100644 --- a/src/m_paper_key/CMakeLists.txt +++ b/src/m_paper_key/CMakeLists.txt @@ -31,10 +31,6 @@ aux_source_directory(. INTEGRATED_MODULE_SOURCE)  # define libgpgfrontend_module  add_library(mod_paper_key SHARED ${INTEGRATED_MODULE_SOURCE}) -# install dir -install(TARGETS mod_paper_key -  LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/modules") -  # link sdk  target_link_libraries(mod_paper_key PRIVATE    gpgfrontend_module_sdk) @@ -44,3 +40,10 @@ target_link_libraries(mod_paper_key PRIVATE Qt::Core)  # using std c++ 17  target_compile_features(mod_paper_key PRIVATE cxx_std_17) + +# install paths +install(TARGETS mod_paper_key +  LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} +  ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} +  PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +)
\ No newline at end of file | 
