Created
November 21, 2014 23:23
-
-
Save BtbN/34c57437add374d9b8d0 to your computer and use it in GitHub Desktop.
CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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