2021-08-19 19:17:06 +02:00
|
|
|
qt_wrap_cpp(MACDEPLOYCHECK_MOC ${CMAKE_SOURCE_DIR}/ext/libstrawberry-common/core/logging.h)
|
2021-08-19 20:24:11 +02:00
|
|
|
link_directories(${GLIB_LIBRARY_DIRS})
|
2021-08-19 19:17:06 +02:00
|
|
|
add_executable(macdeploycheck macdeploycheck.cpp ${CMAKE_SOURCE_DIR}/ext/libstrawberry-common/core/logging.cpp ${MACDEPLOYCHECK_MOC})
|
|
|
|
target_include_directories(macdeploycheck PUBLIC SYSTEM
|
|
|
|
${GLIB_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
target_include_directories(macdeploycheck PUBLIC
|
|
|
|
${CMAKE_SOURCE_DIR}/ext/libstrawberry-common
|
|
|
|
${CMAKE_BINARY_DIR}/src
|
|
|
|
)
|
|
|
|
target_link_libraries(macdeploycheck PUBLIC
|
|
|
|
"-framework AppKit"
|
|
|
|
${GLIB_LIBRARIES}
|
2023-09-16 14:06:09 +02:00
|
|
|
Qt${QT_VERSION_MAJOR}::Core
|
2021-08-19 19:17:06 +02:00
|
|
|
)
|