diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | CMakeLists.txt | 12 | ||||
m--------- | vendor/yaml-cpp | 0 |
3 files changed, 9 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules index f4b3cdf..2d9ee1e 100644 --- a/.gitmodules +++ b/.gitmodules | |||
@@ -1,9 +1,6 @@ | |||
1 | [submodule "vendor/verbly"] | 1 | [submodule "vendor/verbly"] |
2 | path = vendor/verbly | 2 | path = vendor/verbly |
3 | url = git@github.com:hatkirby/verbly | 3 | url = git@github.com:hatkirby/verbly |
4 | [submodule "vendor/yaml-cpp"] | ||
5 | path = vendor/yaml-cpp | ||
6 | url = git@github.com:jbeder/yaml-cpp | ||
7 | [submodule "vendor/libtwittercpp"] | 4 | [submodule "vendor/libtwittercpp"] |
8 | path = vendor/libtwittercpp | 5 | path = vendor/libtwittercpp |
9 | url = git@github.com:hatkirby/libtwittercpp | 6 | url = git@github.com:hatkirby/libtwittercpp |
diff --git a/CMakeLists.txt b/CMakeLists.txt index f7c21c5..c95e6aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,12 +1,18 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (fefisms) | 2 | project (fefisms) |
3 | 3 | ||
4 | find_package(PkgConfig) | ||
5 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) | ||
6 | |||
4 | add_subdirectory(vendor/libtwittercpp) | 7 | add_subdirectory(vendor/libtwittercpp) |
5 | add_subdirectory(vendor/verbly) | 8 | add_subdirectory(vendor/verbly) |
6 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | ||
7 | 9 | ||
8 | include_directories(vendor/libtwittercpp/src vendor/verbly/lib vendor/yaml-cpp/include) | 10 | include_directories( |
11 | vendor/libtwittercpp/src | ||
12 | vendor/verbly/lib | ||
13 | ${yaml-cpp_INCLUDE_DIRS}) | ||
14 | |||
9 | add_executable(fefisms fefisms.cpp main.cpp) | 15 | add_executable(fefisms fefisms.cpp main.cpp) |
10 | set_property(TARGET fefisms PROPERTY CXX_STANDARD 11) | 16 | set_property(TARGET fefisms PROPERTY CXX_STANDARD 11) |
11 | set_property(TARGET fefisms PROPERTY CXX_STANDARD_REQUIRED ON) | 17 | set_property(TARGET fefisms PROPERTY CXX_STANDARD_REQUIRED ON) |
12 | target_link_libraries(fefisms verbly twitter++ yaml-cpp) | 18 | target_link_libraries(fefisms verbly twitter++ ${yaml-cpp_LIBRARIES}) |
diff --git a/vendor/yaml-cpp b/vendor/yaml-cpp deleted file mode 160000 | |||
Subproject bedb28fdb4fd52d97e02f6cb946cae631037089 | |||