Fix CMakeLists.txt dependencies

This commit is contained in:
William Brawner 2018-02-13 18:28:26 -06:00
parent 6001d51547
commit 5da8287248

View file

@ -1,8 +1,21 @@
cmake_minimum_required(VERSION 3.7)
project(Feader)
set(PROJECT_SOURCE_DIR, "src")
set(CMAKE_C_FLAGS, "-g -Wall")
include_directories(
"include"
"lib"
"/usr/local/include"
"/usr/include/x86_64-linux-gnu"
"/usr/local/include/libxml2"
"include"
)
add_executable(Feader src/feader.c)
link_directories(
"/usr/lib/x86_64-linux-gnu"
"/usr/local/lib"
"lib"
)
add_executable(Feader src/feader.c)
find_package(libcurl)
target_link_libraries(
Feader
curl
xml2
)