Skip to content

Commit 2b22503

Browse files
candrewsbeldmit
authored andcommitted
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)
1 parent ebf9c1f commit 2b22503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -449,5 +449,5 @@ if (MSVC)
449449
install(FILES $<TARGET_PDB_FILE:gost_prov>
450450
EXPORT GostProviderConfig DESTINATION ${OPENSSL_MODULES_DIR} OPTIONAL)
451451
endif()
452-
install(EXPORT GostEngineConfig DESTINATION GostEngine/share/cmake/GostEngine)
453-
install(EXPORT GostProviderConfig DESTINATION GostEngine/share/cmake/GostProvider)
452+
install(EXPORT GostEngineConfig DESTINATION share/cmake/GostEngine)
453+
install(EXPORT GostProviderConfig DESTINATION share/cmake/GostProvider)

0 commit comments

Comments
 (0)