Как добавить GDI+ в cmake?
Пробовал так:
set (GDI_HEADERS "C:/MinGW/include/gdiplus")
set (GDI_LIBS "C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x86")
set(LIBRARIES libgdiplus gdiplus)
target_link_libraries(main ${LIBRARIES})
Но не добавляются, в cmake не силен
CMake Error at CMakeLists.txt:12 (add_executable):
Cannot find source file:
gdiplus
CMake Error at CMakeLists.txt:12 (add_executable):
No SOURCES given to target: main