X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=1caf67db036ac7cfc2eb91d12e3b38dd5c1e5ad9;hb=21c7d90eb3034c1c82167e67d291a46a112a833b;hp=a9375696aae2780107bc46741f64b141616c678e;hpb=dd507838fbe0b7d8e56570384b5fd6b44a6403b6;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index a937569..1caf67d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,9 @@ add_custom_target(tags WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) # install -set(OPENSSL_ENGINES_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/engines-${OPENSSL_VERSION_MAJOR}_${OPENSSL_VERSION_MINOR}) +if (NOT OPENSSL_ENGINES_INSTALL_DIR) + set(OPENSSL_ENGINES_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/engines-${OPENSSL_VERSION_MAJOR}_${OPENSSL_VERSION_MINOR}) +endif() set(OPENSSL_MAN_INSTALL_DIR ${CMAKE_INSTALL_MANDIR}/man1) install(TARGETS gost_engine gostsum gost12sum EXPORT GostEngineConfig