@@ -188,7 +188,7 @@ if( APPLE )
188188
189189elseif ( UNIX )
190190
191- foreach (LIB ${QT_LIBS} ${QT_WEB_LIBS} ${JKQT_LIBS} )
191+ foreach (LIB ${QT_LIBS} ${QT_WEB_LIBS} )
192192 get_property (LIB_LOCATION TARGET ${LIB} PROPERTY LOCATION )
193193 list (APPEND QT_LIB_LOCATIONS "${LIB_LOCATION} " )
194194 endforeach ()
@@ -275,14 +275,6 @@ elseif( WIN32 )
275275 #COMMAND ${CMAKE_COMMAND} -E copy_if_different ${qweb_resources_v8_context_snapshot} $<TARGET_FILE_DIR:${target_name}>/resources/
276276 )
277277
278- add_custom_command (TARGET ${target_name}
279- POST_BUILD
280- COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:JKQTCommonSharedLib> $<TARGET_FILE_DIR:${target_name} >/
281- COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:JKQTFastPlotterSharedLib> $<TARGET_FILE_DIR:${target_name} >/
282- COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:JKQTMathTextSharedLib> $<TARGET_FILE_DIR:${target_name} >/
283- COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:JKQTPlotterSharedLib> $<TARGET_FILE_DIR:${target_name} >/
284- )
285-
286278 # On Windows, we must copy the DLLs inside the build folder or it won't find them
287279 # TODO: IMPORTED_SONAME_RELEASE now contains @rpath so it fails
288280 # get_target_property(LIBOSLIB openstudio::openstudiolib IMPORTED_LOCATION_RELEASE)
@@ -395,7 +387,7 @@ if( NOT APPLE )
395387 install (PROGRAMS $<TARGET_FILE_DIR:${target_name} >/D3Dcompiler_47.dll DESTINATION bin/ COMPONENT OpenStudioApp)
396388 install (PROGRAMS $<TARGET_FILE_DIR:${target_name} >/opengl32sw.dll DESTINATION bin/ COMPONENT OpenStudioApp)
397389
398- foreach (LIB ${QT_LIBS} ${QT_WEB_LIBS} ${JKQT_LIBS} )
390+ foreach (LIB ${QT_LIBS} ${QT_WEB_LIBS} )
399391 install (PROGRAMS $<TARGET_FILE_DIR:${target_name} >/$<TARGET_FILE_NAME:${LIB} > DESTINATION bin/ COMPONENT OpenStudioApp)
400392 endforeach ()
401393
@@ -416,7 +408,7 @@ if( NOT APPLE )
416408 install (DIRECTORY $<TARGET_FILE_DIR:${target_name} >/xcbglintegrations/ DESTINATION bin/xcbglintegrations/ COMPONENT OpenStudioApp)
417409 # install(PROGRAMS $<TARGET_FILE_DIR:${target_name}>/xcbglintegrations/$<TARGET_FILE_NAME:Qt6::QXcbGlxIntegrationPlugin> DESTINATION bin/xcbglintegrations/ COMPONENT OpenStudioApp)
418410
419- foreach (LIB ${QT_LIBS} ${QT_WEB_LIBS} ${JKQT_LIBS} )
411+ foreach (LIB ${QT_LIBS} ${QT_WEB_LIBS} )
420412 install (PROGRAMS $<TARGET_FILE_DIR:${target_name} >/$<TARGET_FILE_NAME:${LIB} > DESTINATION bin/ COMPONENT OpenStudioApp)
421413 endforeach ()
422414
0 commit comments