Fix Native Plugin Loading for CMake (#1829)

This commit is contained in:
Florian Märkl 2019-10-09 18:41:16 +02:00 committed by GitHub
parent 1d68115c93
commit b176fdad88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,9 @@ endif()
add_executable(Cutter MACOSX_BUNDLE ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES} ${BINDINGS_SOURCE}) add_executable(Cutter MACOSX_BUNDLE ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES} ${BINDINGS_SOURCE})
set_target_properties(Cutter PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist") set_target_properties(Cutter PROPERTIES
ENABLE_EXPORTS ON
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist")
if (TARGET Graphviz::GVC) if (TARGET Graphviz::GVC)
target_link_libraries(Cutter Graphviz::GVC) target_link_libraries(Cutter Graphviz::GVC)