We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ced0efb + fef3b9c commit 2d13a50Copy full SHA for 2d13a50
src/openstudio_app/CMakeLists.txt
@@ -472,6 +472,13 @@ if( APPLE )
472
"${CMAKE_INSTALL_PREFIX}/OpenStudioApp.app/Contents/Frameworks/$<TARGET_FILE_NAME:openstudio::openstudiolib>"
473
474
COMMAND "${CMAKE_COMMAND}" -E make_directory "${CMAKE_INSTALL_PREFIX}/bin"
475
+
476
+ COMMAND_ECHO STDOUT
477
+ COMMAND_ERROR_IS_FATAL ANY
478
+ )
479
480
+ # We break it into two `execute_process`es so that there is no race condition between the make_directory above and the create_symlink below
481
+ execute_process(
482
COMMAND "${CMAKE_COMMAND}" -E create_symlink
483
"../OpenStudioApp.app/Contents/MacOS/$<TARGET_FILE_NAME:openstudio::openstudio>"
484
"${CMAKE_INSTALL_PREFIX}/bin/$<TARGET_FILE_NAME:openstudio::openstudio>"
0 commit comments