Skip to content

Commit 9d72759

Browse files
committed
fixed install issue on Mac
1 parent 0287ac6 commit 9d72759

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,13 @@ if(APPLE)
529529
install(FILES "${PROJECT_SOURCE_DIR}/resources/mec_logo.png"
530530
DESTINATION "${resources_dir}/" COMPONENT Runtime)
531531

532+
# Install extra lib
533+
file(GLOB_RECURSE EXTRALIBS ${EXTRA_DEPENDENCE_LIBRARY_PATH} "*.dylib")
534+
foreach (file ${EXTRALIBS})
535+
install(PROGRAMS "${file}"
536+
DESTINATION "${frameworks_dir}/" COMPONENT Runtime)
537+
endforeach()
538+
532539
# Install Plugins
533540
install(DIRECTORY "${PROJECT_BINARY_DIR}/plugins"
534541
DESTINATION "${contents_dir}" COMPONENT Runtime)
-4.16 MB
Binary file not shown.
-6.46 MB
Binary file not shown.

0 commit comments

Comments
 (0)