summary refs log tree commit diff stats
path: root/generator/CMakeLists.txt
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-12-06 17:33:40 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-12-06 17:35:35 -0500
commitd1024b559c44a143eca214fb8732001080e8b037 (patch)
tree1c6ad799195b9f917047aa11b72e1f7dc0ecb013 /generator/CMakeLists.txt
parentad8243c74c1d718b94a2a4bf4f0fa56d4c9dbb45 (diff)
downloadlingo-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.txt10
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 @@
1cmake_minimum_required (VERSION 3.1) 1cmake_minimum_required (VERSION 3.1)
2project (generator) 2project (generator)
3 3
4find_package(PkgConfig)
5pkg_check_modules(libzstd libzstd REQUIRED)
6
4add_subdirectory(vendor/fmt) 7add_subdirectory(vendor/fmt)
5 8
6include_directories(vendor/hkutil vendor/fmt/include) 9include_directories(vendor/hkutil vendor/fmt/include ${libzstd_INCLUDE_DIRS})
10link_directories(${libzstd_LIBRARY_DIRS})
7 11
8add_executable(generator generator.cpp main.cpp) 12add_executable(generator generator.cpp main.cpp godot_variant.cpp)
9set_property(TARGET generator PROPERTY CXX_STANDARD 17) 13set_property(TARGET generator PROPERTY CXX_STANDARD 17)
10set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) 14set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON)
11target_link_libraries(generator fmt) 15target_link_libraries(generator fmt ${libzstd_LIBRARIES})