mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00

- If possble try to abstract away from Make, and use cmake --build - third-party still needs to find Make to build some components - Removed search for Make from CMakeLists.txt * for CMake < 3.0 --build has no color output
13 lines
285 B
CMake
13 lines
285 B
CMake
execute_process(
|
|
COMMAND ${CMAKE_COMMAND} --build . --target install
|
|
RESULT_VARIABLE res)
|
|
|
|
if(NOT res EQUAL 0)
|
|
message(FATAL_ERROR "Installing msgpack failed.")
|
|
endif()
|
|
|
|
file(GLOB FILES_TO_REMOVE ${REMOVE_FILE_GLOB})
|
|
if(FILES_TO_REMOVE)
|
|
file(REMOVE ${FILES_TO_REMOVE})
|
|
endif()
|