From c3aa1ce444cf6f073aa511feb563bca19c88078a Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 2 May 2017 13:25:09 -0700 Subject: [PATCH] fix(CMakeLists): install leanpkg fixes #1561 @jroesch Could you please check if this patch works on your OSX machine? --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60537684e9..a7a9792bae 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -477,6 +477,10 @@ add_custom_target(clean-std-lib add_custom_target(clean-olean DEPENDS clean-std-lib) +install(FILES "${CMAKE_SOURCE_DIR}/../bin/leanpkg" + DESTINATION bin + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) + if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") install(FILES "${CMAKE_SOURCE_DIR}/../bin/leanemacs.bat" "${CMAKE_SOURCE_DIR}/../bin/leanemacs.bat" DESTINATION bin