Merge pull request #48 from neil-forks/master

WIP: Use CMAKE_INSTALL_LIBDIR for install destination to respect build forges
This commit is contained in:
Robert Lipe 2023-08-07 21:24:22 -05:00 committed by GitHub
commit 713e444656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,11 @@ else()
endif() endif()
endif() endif()
install(TARGETS libblisp libblisp_static DESTINATION lib) install(TARGETS libblisp libblisp_static
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
if(BLISP_BUILD_CLI) if(BLISP_BUILD_CLI)
add_subdirectory(tools/blisp) add_subdirectory(tools/blisp)
@ -99,4 +103,4 @@ endif()
if(COMPILE_TESTS) if(COMPILE_TESTS)
add_subdirectory(tools/blisp/src/cmd/dfu/tests) add_subdirectory(tools/blisp/src/cmd/dfu/tests)
endif(COMPILE_TESTS) endif(COMPILE_TESTS)