mirror of
https://github.com/pine64/blisp.git
synced 2025-01-22 05:30:18 +00:00
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:
commit
713e444656
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user