chore(shell/CMakeLists.txt): put EXECUTABLE_SUFFIX to lean

This commit is contained in:
Soonho Kong 2014-07-31 14:11:59 -07:00
parent 92e90fbd07
commit b4c2234e10

View file

@ -4,7 +4,7 @@ target_link_libraries(lean ${ALL_LIBS})
ADD_CUSTOM_COMMAND(TARGET lean
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${LEAN_SOURCE_DIR}/../bin
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/lean ${LEAN_SOURCE_DIR}/../bin/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/lean${CMAKE_EXECUTABLE_SUFFIX} ${LEAN_SOURCE_DIR}/../bin/
)
install(TARGETS lean DESTINATION bin)