about summary refs log tree commit diff stats
path: root/generator/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'generator/CMakeLists.txt')
-rw-r--r--generator/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt index af023c4..dffbe0e 100644 --- a/generator/CMakeLists.txt +++ b/generator/CMakeLists.txt
@@ -4,8 +4,12 @@ project (generator)
4find_package(PkgConfig) 4find_package(PkgConfig)
5pkg_check_modules(sqlite3 sqlite3 REQUIRED) 5pkg_check_modules(sqlite3 sqlite3 REQUIRED)
6 6
7include_directories(${sqlite3_INCLUDE_DIR} vendor/json) 7include_directories(
8add_executable(generator mood.cpp database.cpp field.cpp generator.cpp main.cpp) 8 ${sqlite3_INCLUDE_DIR}
9 vendor/json
10 ../vendor/hkutil)
11
12add_executable(generator mood.cpp generator.cpp main.cpp)
9set_property(TARGET generator PROPERTY CXX_STANDARD 11) 13set_property(TARGET generator PROPERTY CXX_STANDARD 11)
10set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) 14set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON)
11target_link_libraries(generator ${sqlite3_LIBRARIES}) 15target_link_libraries(generator ${sqlite3_LIBRARIES})