Files
neovim/third-party/cmake/InstallMsgpack.cmake
Rui Abreu Ferreira 2b887ec66b Use cmake --build instead of Make
- 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
2014-11-14 14:35:16 +00:00

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()