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:
parent
8c0f0815f0
commit
1c037e07be
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue