diff options
author | Craig Andrews <candrews@integralblue.com> | 2023-01-03 17:42:02 -0500 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2023-01-05 23:53:46 +0300 |
commit | 2b22503cf83c56f27719eccce013999203e69db0 (patch) | |
tree | 08ac5849fabe774b427f61d9126ddf92ccd2a41e /CMakeLists.txt | |
parent | ebf9c1fec3c58cdf7e2b56220d384ab90647f966 (diff) | |
download | gost-engine-2b22503cf83c56f27719eccce013999203e69db0.zip gost-engine-2b22503cf83c56f27719eccce013999203e69db0.tar.gz gost-engine-2b22503cf83c56f27719eccce013999203e69db0.tar.bz2 |
Correct CMake files installation path
install(EXPORT GostEngineConfig DESTINATION share/cmake/GostEngine) will to a path like this:
/usr/GostEngine/share/cmake/GostEngine/GostEngineConfig.cmake
which is not standard or expected. These files should be installed to:
/usr/share/cmake/GostEngine/GostEngineConfig.cmake
which can be done by changing the installation line to:
install(EXPORT GostEngineConfig DESTINATION share/cmake/GostEngine)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5053ae4..cae27c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -449,5 +449,5 @@ if (MSVC) install(FILES $<TARGET_PDB_FILE:gost_prov> EXPORT GostProviderConfig DESTINATION ${OPENSSL_MODULES_DIR} OPTIONAL) endif() -install(EXPORT GostEngineConfig DESTINATION GostEngine/share/cmake/GostEngine) -install(EXPORT GostProviderConfig DESTINATION GostEngine/share/cmake/GostProvider) +install(EXPORT GostEngineConfig DESTINATION share/cmake/GostEngine) +install(EXPORT GostProviderConfig DESTINATION share/cmake/GostProvider) |