From 3f50fd3ddd3a8720ff5732951dc8e2c4a9f7aa14 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 29 Aug 2014 12:15:07 -0700 Subject: [PATCH] feat(build): invoke linja from lean build Signed-off-by: Leonardo de Moura --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6f2256a96..cf0b98a3a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -312,7 +312,7 @@ if((${CYGWIN} EQUAL "1") OR (NOT (${CMAKE_SYSTEM_NAME} MATCHES "Windows"))) # Only build libraries if we are NOT cross compiling add_custom_target( standard_lib ALL - COMMAND make -j ${PROCESSOR_COUNT} LEAN_PATH=.:${LEAN_SOURCE_DIR}/../library LEAN="${CMAKE_SOURCE_DIR}/../bin/lean" + COMMAND ${LEAN_SOURCE_DIR}/../bin/linja DEPENDS ${CMAKE_BINARY_DIR}/shell/lean WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library )