diff options
Diffstat (limited to 'generator/CMakeLists.txt')
-rw-r--r-- | generator/CMakeLists.txt | 8 |
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) | |||
4 | find_package(PkgConfig) | 4 | find_package(PkgConfig) |
5 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | 5 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) |
6 | 6 | ||
7 | include_directories(${sqlite3_INCLUDE_DIR} vendor/json) | 7 | include_directories( |
8 | add_executable(generator mood.cpp database.cpp field.cpp generator.cpp main.cpp) | 8 | ${sqlite3_INCLUDE_DIR} |
9 | vendor/json | ||
10 | ../vendor/hkutil) | ||
11 | |||
12 | add_executable(generator mood.cpp generator.cpp main.cpp) | ||
9 | set_property(TARGET generator PROPERTY CXX_STANDARD 11) | 13 | set_property(TARGET generator PROPERTY CXX_STANDARD 11) |
10 | set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) | 14 | set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) |
11 | target_link_libraries(generator ${sqlite3_LIBRARIES}) | 15 | target_link_libraries(generator ${sqlite3_LIBRARIES}) |