Add external libraries to CMake
include_directories(C:\\msys\\mingw64\\include) link_directories(C:\\msys\\mingw64\\lib) #target_link_libraries(${PROJECT_NAME} C:\\msys\\mingw64\\lib\\libpaho-mqttpp3)
References
https://stackoverflow.com/questions/24570916/add-external-libraries-to-cmakelist-txt-c