summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dd0729c..1902dc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -8,10 +8,11 @@ add_subdirectory(vendor/verbly)
8add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) 8add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
9 9
10find_package(PkgConfig) 10find_package(PkgConfig)
11pkg_check_modules(sqlite3 sqlite3 REQUIRED) 11pkg_check_modules(sqlite3 sqlite3>=3.8.3 REQUIRED)
12pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) 12pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
13 13
14include_directories(${GraphicsMagick_INCLUDE_DIRS} ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/libtwittercpp/src vendor/yaml-cpp/include vendor/libtwittercpp/vendor/json/src vendor/libtwittercpp/vendor/curlcpp/include) 14include_directories(${GraphicsMagick_INCLUDE_DIRS} ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/libtwittercpp/src vendor/yaml-cpp/include vendor/libtwittercpp/vendor/json/src vendor/libtwittercpp/vendor/curlcpp/include)
15link_directories(${sqlite3_LIBRARY_DIRS})
15add_executable(infinite infinite.cpp color.cpp fractal.cpp matrix3x3.cpp vector3d.cpp tinyxml2.cpp triangle.cpp) 16add_executable(infinite infinite.cpp color.cpp fractal.cpp matrix3x3.cpp vector3d.cpp tinyxml2.cpp triangle.cpp)
16set_property(TARGET infinite PROPERTY CXX_STANDARD 11) 17set_property(TARGET infinite PROPERTY CXX_STANDARD 11)
17set_property(TARGET infinite PROPERTY CXX_STANDARD_REQUIRED ON) 18set_property(TARGET infinite PROPERTY CXX_STANDARD_REQUIRED ON)