bytebrew/slope

win build

GreystWdR opened this issue · 1 comments

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} )

I am sorry for replying this late Jerome. I am going to add windows support soon. Thank you for your contribution.