diff --git a/contributors.txt b/contributors.txt index 271a19f87e..923c8d511e 100644 --- a/contributors.txt +++ b/contributors.txt @@ -324,4 +324,5 @@ YYYY/MM/DD, github id, Full name, email 2021/11/30, bollwyvl, Nick Bollweg, bollwyvl@users.noreply.github.com 2021/12/03, eneko, Eneko Alonso, eneko.alonso@gmail.com 2021/12/16, Ketler13, Oleksandr Martyshchenko, oleksandr.martyshchenko@gmail.com -2021/12/25, Tinker1024, Tinker1024, tinker@huawei.com \ No newline at end of file +2021/12/25, Tinker1024, Tinker1024, tinker@huawei.com +2021/12/31, Biswa96, Biswapriyo Nath, nathbappai@gmail.com diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt index 77994cdb44..39f631d5ff 100644 --- a/runtime/Cpp/runtime/CMakeLists.txt +++ b/runtime/Cpp/runtime/CMakeLists.txt @@ -131,11 +131,16 @@ set_target_properties(antlr4_static COMPILE_FLAGS "${disabled_compile_warnings} ${extra_static_compile_flags}") install(TARGETS antlr4_shared - DESTINATION lib - EXPORT antlr4-targets) + EXPORT antlr4-targets + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + install(TARGETS antlr4_static - DESTINATION lib - EXPORT antlr4-targets) + EXPORT antlr4-targets + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) install(DIRECTORY "${PROJECT_SOURCE_DIR}/runtime/src/" DESTINATION "include/antlr4-runtime"