Skip to content

win build #19

@GreystWdR

Description

@GreystWdR

few lines missing in CMakeList.txt to build under windows with MSYS2/Mingw64.
I added the following to be able build the project (in my case/config) but I m definitvely not a cmakefile guru.
Hope that will help.
thx for the nice lib

Find the GTK module using pkg-config

include(FindPkgConfig)
pkg_check_modules(GTK REQUIRED "gtk+-3.0")

Add the path to its header files to the compiler command line

include_directories(${GTK_INCLUDE_DIRS})

and

target_link_libraries(${CMAKE_PROJECT_NAME} ${GTK_LDFLAGS} )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions