Verified Commit bc30cc22 authored by Melroy van den Berg's avatar Melroy van den Berg
Browse files

Remove unneeded direct gtk deps, gtkmm is enough

parent 05f80804
Pipeline #3427 passed with stage
in 34 seconds
......@@ -19,7 +19,6 @@ set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc-posix)
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++-posix)
set(CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres)
# Ensure that FIND_PACKAGE() functions and friends look in the rootfs for the target environment
set(CMAKE_FIND_ROOT_PATH
/usr/${TOOLCHAIN_PREFIX}
......
......@@ -21,7 +21,6 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
# Find required dependencies
find_package(Threads REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK REQUIRED gtk+-3.0)
pkg_check_modules(GTKMM REQUIRED gtkmm-3.0)
add_definitions(${GTKMM_CFLAGS_OTHER})
......@@ -134,12 +133,10 @@ get_property(CMAKE_EXTENSIONS_BINARY_DIR GLOBAL PROPERTY COMMONMARKER_EXTENSIONS
target_include_directories(${PROJECT_TARGET} PRIVATE
${CMAKE_BINARY_DIR}
${CMAKE_EXTENSIONS_BINARY_DIR}
${GTK_INCLUDE_DIRS}
${GTKMM_INCLUDE_DIRS}
)
target_link_directories(${PROJECT_TARGET} PRIVATE
${GTK_LIBRARY_DIRS}
${GTKMM_LIBRARY_DIRS}
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment