summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-06-19 19:13:34 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-06-19 19:13:34 -0400
commit1dc76691f3e1c982973a03a9988b98713b9631ae (patch)
tree67106970e295f19019ceec3ef402c703318cebd0 /CMakeLists.txt
parentbd806c551d3819eda88d046f067b5ecd6f53a464 (diff)
downloadfefisms-1dc76691f3e1c982973a03a9988b98713b9631ae.tar.gz
fefisms-1dc76691f3e1c982973a03a9988b98713b9631ae.tar.bz2
fefisms-1dc76691f3e1c982973a03a9988b98713b9631ae.zip
Removed yaml-cpp submodule
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f7c21c5..c95e6aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -1,12 +1,18 @@
1cmake_minimum_required (VERSION 3.1) 1cmake_minimum_required (VERSION 3.1)
2project (fefisms) 2project (fefisms)
3 3
4find_package(PkgConfig)
5pkg_check_modules(yaml-cpp yaml-cpp REQUIRED)
6
4add_subdirectory(vendor/libtwittercpp) 7add_subdirectory(vendor/libtwittercpp)
5add_subdirectory(vendor/verbly) 8add_subdirectory(vendor/verbly)
6add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
7 9
8include_directories(vendor/libtwittercpp/src vendor/verbly/lib vendor/yaml-cpp/include) 10include_directories(
11 vendor/libtwittercpp/src
12 vendor/verbly/lib
13 ${yaml-cpp_INCLUDE_DIRS})
14
9add_executable(fefisms fefisms.cpp main.cpp) 15add_executable(fefisms fefisms.cpp main.cpp)
10set_property(TARGET fefisms PROPERTY CXX_STANDARD 11) 16set_property(TARGET fefisms PROPERTY CXX_STANDARD 11)
11set_property(TARGET fefisms PROPERTY CXX_STANDARD_REQUIRED ON) 17set_property(TARGET fefisms PROPERTY CXX_STANDARD_REQUIRED ON)
12target_link_libraries(fefisms verbly twitter++ yaml-cpp) 18target_link_libraries(fefisms verbly twitter++ ${yaml-cpp_LIBRARIES})