I encountered some issues on a computer where CMake is installed with a space inserted. using @CMAKE_COMMAND@ instead of "@CMAKE_COMMAND@" would create some problems. However, there's not much point in using @CMAKE_COMMAND@ in the first place so I have replaced all usage with ${CMAKE_COMMAND} which is correctly handled in the execute_process calls
I encountered some issues on a computer where CMake is installed with a space inserted. using
@CMAKE_COMMAND@
instead of"@CMAKE_COMMAND@"
would create some problems. However, there's not much point in using@CMAKE_COMMAND@
in the first place so I have replaced all usage with${CMAKE_COMMAND}
which is correctly handled in theexecute_process
calls