Changeset View
Changeset View
Standalone View
Standalone View
head/devel/llbuild/files/patch-products_llbuild_CMakeLists.txt
--- products/llbuild/CMakeLists.txt.orig 2016-10-20 04:49:37 UTC | --- products/llbuild/CMakeLists.txt.orig 2017-12-05 12:40:29 UTC | ||||
+++ products/llbuild/CMakeLists.txt | +++ products/llbuild/CMakeLists.txt | ||||
@@ -11,3 +11,14 @@ target_link_libraries(llbuild | @@ -13,3 +13,14 @@ target_link_libraries(llbuild | ||||
sqlite3 | if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | ||||
curses | target_link_libraries(llbuild curses) | ||||
) | endif() | ||||
+ | + | ||||
+install(TARGETS llbuild | +install(TARGETS llbuild | ||||
+ COMPONENT llbuild | + COMPONENT llbuild | ||||
+ DESTINATION bin) | + DESTINATION bin) | ||||
+ | + | ||||
+add_custom_target(install-llbuild | +add_custom_target(install-llbuild | ||||
+ DEPENDS llbuild | + DEPENDS llbuild | ||||
+ COMMENT "Installing llbuild..." | + COMMENT "Installing llbuild..." | ||||
+ COMMAND "${CMAKE_COMMAND}" | + COMMAND "${CMAKE_COMMAND}" | ||||
+ -DCMAKE_INSTALL_COMPONENT=llbuild | + -DCMAKE_INSTALL_COMPONENT=llbuild | ||||
+ -P "${CMAKE_BINARY_DIR}/cmake_install.cmake") | + -P "${CMAKE_BINARY_DIR}/cmake_install.cmake") |