]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Make it compatible with cmake versions lower than 3.14, specify explicitly destinatio...
authorSergei Lemeshkin <sergeilem@gmail.com>
Wed, 17 Mar 2021 12:28:30 +0000 (15:28 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Wed, 17 Mar 2021 13:52:25 +0000 (14:52 +0100)
CMakeLists.txt

index 0fb7b6ec8f76058de31d65534e73dc3a0d893c4a..9768cca04e284b8520d322fb69ff953d4f601f9a 100644 (file)
@@ -319,11 +319,11 @@ add_executable(test_tlstree test_tlstree.c)
 target_link_libraries(test_tlstree PUBLIC ${OPENSSL_CRYPTO_LIBRARY})
 
 # install programs and manuals
-install(TARGETS gostsum gost12sum)
+install(TARGETS gostsum gost12sum RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
 install(FILES gostsum.1 gost12sum.1 DESTINATION ${CMAKE_INSTALL_DIR}/man1)
 
 # install engine in library and module form
-install(TARGETS lib_gost_engine EXPORT GostEngineConfig)
+install(TARGETS lib_gost_engine EXPORT GostEngineConfig LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
 install(TARGETS gost_engine EXPORT GostEngineConfig
         LIBRARY  DESTINATION ${OPENSSL_ENGINES_DIR}
         RUNTIME  DESTINATION ${OPENSSL_ENGINES_DIR})