Skip to content

Commit

Permalink
feat: fix macOS demo build
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Feb 23, 2025
1 parent ab4240a commit 8fc4344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/QCefViewTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ if(OS_MACOS)
XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "@executable_path/../Frameworks"
XCODE_LINK_BUILD_PHASE_MODE "KNOWN_LOCATION"
XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY "YES"
XCODE_EMBED_FRAMEWORKS "${CMAKE_BINARY_DIR}/output/${CMAKE_BUILD_TYPE}/bin/QCefView.framework"
XCODE_EMBED_FRAMEWORKS "${CMAKE_BINARY_DIR}/output/$<CONFIG>/bin/QCefView.framework"
)

add_custom_command(TARGET ${PROJECT_NAME}
Expand Down Expand Up @@ -257,7 +257,7 @@ if(OS_MACOS)
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Gui
Qt${QT_VERSION_MAJOR}::Widgets
QCefView
$<TARGET_BUNDLE_DIR:QCefView>
)
endif()

Expand Down

0 comments on commit 8fc4344

Please sign in to comment.