Skip to content

Instantly share code, notes, and snippets.

@BtbN
Created November 21, 2014 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BtbN/34c57437add374d9b8d0 to your computer and use it in GitHub Desktop.
Save BtbN/34c57437add374d9b8d0 to your computer and use it in GitHub Desktop.
CMakeLists.txt
cmake_minimum_required(VERSION 2.8.12)
project(ToxFind)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/")
find_package(Libtox REQUIRED COMPONENTS core dns encryptsave av)
set(toxfind_SOURCES main.c)
add_executable(toxfind ${toxfind_SOURCES})
target_link_libraries(toxfind ${LIBTOX_LIBRARIES})
target_include_directories(toxfind PUBLIC ${LIBTOX_INCLUDE_DIRS})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment