cmake_minimum_required(VERSION 3.6) project(TeamSpeak) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") include_directories(../shared/src) add_definitions(-DLTM_DESC) set(SOURCE_FILES main.cpp src/ProxiedClient.cpp src/PorxiedClientSock5.cpp src/TSClient.cpp ) add_executable(TeamSpeakFloodClient ${SOURCE_FILES}) target_link_libraries(TeamSpeakFloodClient TeaSpeak pthread ThreadPool ${TOM_LIBRARIES} crypto event event_pthreads /usr/local/lib/libjsoncpp.so )