Skip to content

Commit

Permalink
Fixed Mac build issue with moc executable not found
Browse files Browse the repository at this point in the history
  • Loading branch information
smistad committed Nov 29, 2024
1 parent 1907e3c commit f18fc58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Depdendencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ if(FAST_MODULE_Visualization)
# Copy an executable we know exist: cmake(.exe)
file(COPY ${CMAKE_COMMAND}
DESTINATION "${PROJECT_BINARY_DIR}/bin/"
FOLLOW_SYMLINK_CHAIN
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE)
# Rename it to moc(.exe)
file(RENAME ${PROJECT_BINARY_DIR}/bin/cmake${CMAKE_EXECUTABLE_SUFFIX} ${PROJECT_BINARY_DIR}/bin/moc${CMAKE_EXECUTABLE_SUFFIX})
Expand Down

0 comments on commit f18fc58

Please sign in to comment.