@@ -61,14 +61,14 @@ if(APPLE)
61
61
POST_BUILD
62
62
COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/platforms/
63
63
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::QCocoaIntegrationPlugin> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/platforms/.
64
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::Concurrent> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
65
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::Core> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
66
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::DBus> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
67
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::Gui> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
68
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::Network> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
69
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::PrintSupport> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
70
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::Widgets> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
71
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:Qt5::Xml> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
64
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtConcurrent. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtConcurrent. framework
65
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtCore. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtCore. framework
66
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtDBus. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtDBus. framework
67
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtGui. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtGui. framework
68
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtNetwork. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtNetwork. framework
69
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtPrintSupport. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtPrintSupport. framework
70
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtWidgets. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtWidgets. framework
71
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${QT_INSTALL_DIR} /lib/QtXml. framework $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtXml. framework
72
72
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:openstudio::openstudiolib> $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/.
73
73
COMMAND ruby "${PROJECT_SOURCE_DIR} /SketchUpInstallName.rb" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /ruby/openstudio_modeleditor.bundle"
74
74
)
@@ -91,15 +91,15 @@ install(TARGETS openstudio_modeleditor_rb DESTINATION Ruby COMPONENT "RubyAPI")
91
91
install (FILES openstudio_modeleditor.rb DESTINATION Ruby COMPONENT "RubyAPI" )
92
92
if (APPLE )
93
93
install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/platforms/$<TARGET_FILE_NAME:Qt5::QCocoaIntegrationPlugin> DESTINATION Ruby/platforms COMPONENT "RubyAPI" )
94
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::Concurrent> DESTINATION Ruby COMPONENT "RubyAPI" )
95
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::Core> DESTINATION Ruby COMPONENT "RubyAPI" )
96
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::DBus> DESTINATION Ruby COMPONENT "RubyAPI" )
97
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::Gui> DESTINATION Ruby COMPONENT "RubyAPI" )
98
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::Network> DESTINATION Ruby COMPONENT "RubyAPI" )
99
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::PrintSupport> DESTINATION Ruby COMPONENT "RubyAPI" )
100
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::Widgets> DESTINATION Ruby COMPONENT "RubyAPI" )
94
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtConcurrent.framework DESTINATION Ruby COMPONENT "RubyAPI" )
95
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtCore.framework DESTINATION Ruby COMPONENT "RubyAPI" )
96
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtDBus.framework DESTINATION Ruby COMPONENT "RubyAPI" )
97
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtGui.framework DESTINATION Ruby COMPONENT "RubyAPI" )
98
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtNetwork.framework DESTINATION Ruby COMPONENT "RubyAPI" )
99
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtPrintSupport.framework DESTINATION Ruby COMPONENT "RubyAPI" )
100
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtWidgets.framework DESTINATION Ruby COMPONENT "RubyAPI" )
101
+ install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/QtXml.framework DESTINATION Ruby COMPONENT "RubyAPI" )
101
102
install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:openstudio::openstudiolib> DESTINATION Ruby COMPONENT "RubyAPI" )
102
- install (FILES $<TARGET_FILE_DIR:openstudio_modeleditor_rb>/$<TARGET_FILE_NAME:Qt5::Xml> DESTINATION Ruby COMPONENT "RubyAPI" )
103
103
endif ()
104
104
105
105
if ( BUILD_PAT )
0 commit comments