diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-06 17:33:40 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-06 17:35:35 -0500 |
commit | d1024b559c44a143eca214fb8732001080e8b037 (patch) | |
tree | 1c6ad799195b9f917047aa11b72e1f7dc0ecb013 /generator/CMakeLists.txt | |
parent | ad8243c74c1d718b94a2a4bf4f0fa56d4c9dbb45 (diff) | |
download | lingo-randomizer-d1024b559c44a143eca214fb8732001080e8b037.tar.gz lingo-randomizer-d1024b559c44a143eca214fb8732001080e8b037.tar.bz2 lingo-randomizer-d1024b559c44a143eca214fb8732001080e8b037.zip |
Change output format to zstd compressed Godot serialized variant
Diffstat (limited to 'generator/CMakeLists.txt')
-rw-r--r-- | generator/CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt index fb5dc3c..b6d3c42 100644 --- a/generator/CMakeLists.txt +++ b/generator/CMakeLists.txt | |||
@@ -1,11 +1,15 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (generator) | 2 | project (generator) |
3 | 3 | ||
4 | find_package(PkgConfig) | ||
5 | pkg_check_modules(libzstd libzstd REQUIRED) | ||
6 | |||
4 | add_subdirectory(vendor/fmt) | 7 | add_subdirectory(vendor/fmt) |
5 | 8 | ||
6 | include_directories(vendor/hkutil vendor/fmt/include) | 9 | include_directories(vendor/hkutil vendor/fmt/include ${libzstd_INCLUDE_DIRS}) |
10 | link_directories(${libzstd_LIBRARY_DIRS}) | ||
7 | 11 | ||
8 | add_executable(generator generator.cpp main.cpp) | 12 | add_executable(generator generator.cpp main.cpp godot_variant.cpp) |
9 | set_property(TARGET generator PROPERTY CXX_STANDARD 17) | 13 | set_property(TARGET generator PROPERTY CXX_STANDARD 17) |
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 fmt) | 15 | target_link_libraries(generator fmt ${libzstd_LIBRARIES}) |