1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CLion: Fixed a hardcoded cmake executable name

This commit is contained in:
Tom Poole 2018-01-29 17:20:51 +00:00
parent 8c0f0815f0
commit 1c037e07be

View file

@ -1037,8 +1037,8 @@ private:
auto productFilename = binaryName + (targetAttributeKeys.contains ("WRAPPER_EXTENSION") ? "." + targetAttributes["WRAPPER_EXTENSION"] : String());
auto productPath = (installPath + productFilename).quoted();
out << "add_custom_command (TARGET " << targetVarName << " POST_BUILD" << newLine
<< " COMMAND cmake -E remove_directory " << productPath << newLine
<< " COMMAND cmake -E copy_directory \"${CMAKE_BINARY_DIR}/" << productFilename << "\" " << productPath << newLine
<< " COMMAND ${CMAKE_COMMAND} -E remove_directory " << productPath << newLine
<< " COMMAND ${CMAKE_COMMAND} -E copy_directory \"${CMAKE_BINARY_DIR}/" << productFilename << "\" " << productPath << newLine
<< " COMMENT \"Copying \\\"" << productFilename << "\\\" to \\\"" << installPath.unquoted() << "\\\"\"" << newLine
<< ")" << newLine << newLine;
}