2024-08-27 19:39:53 +02:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
|
2021-08-19 19:17:06 +02:00
|
|
|
qt_wrap_cpp(MACDEPLOYCHECK_MOC ${CMAKE_SOURCE_DIR}/ext/libstrawberry-common/core/logging.h)
|
2024-08-27 19:39:53 +02:00
|
|
|
|
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
|
|
|
|
)
|
2024-08-27 19:39:53 +02:00
|
|
|
target_link_directories(macdeploycheck PUBLIC ${GLIB_LIBRARY_DIRS})
|
2021-08-19 19:17:06 +02:00
|
|
|
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
|
|
|
)
|