I want to set up the build in QtCreator via CMake. How to add a library to a project? for example winsock2
CMakeLists:
project(untitled26) cmake_minimum_required(VERSION 2.8) aux_source_directory(. SRC_LIST) add_executable(${PROJECT_NAME} ${SRC_LIST})