diff options
Diffstat (limited to 'tools/util/CMakeLists.txt')
| -rw-r--r-- | tools/util/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
| diff --git a/tools/util/CMakeLists.txt b/tools/util/CMakeLists.txt index 4d19c3b..0859a58 100644 --- a/tools/util/CMakeLists.txt +++ b/tools/util/CMakeLists.txt | |||
| @@ -1,11 +1,13 @@ | |||
| 1 | find_package(Protobuf REQUIRED) | 1 | find_package(Protobuf REQUIRED) |
| 2 | find_package(yaml-cpp REQUIRED) | ||
| 2 | 3 | ||
| 3 | add_library(util | 4 | add_library(util |
| 4 | godot_scene.cpp | 5 | godot_scene.cpp |
| 5 | identifiers.cpp | 6 | identifiers.cpp |
| 7 | ids_yaml_format.cpp | ||
| 6 | naming.cpp | 8 | naming.cpp |
| 7 | ) | 9 | ) |
| 8 | set_property(TARGET util PROPERTY CXX_STANDARD 20) | 10 | set_property(TARGET util PROPERTY CXX_STANDARD 20) |
| 9 | set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) | 11 | set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) |
| 10 | target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR}) | 12 | target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR}) |
| 11 | target_link_libraries(util PUBLIC protos protobuf::libprotobuf) | 13 | target_link_libraries(util PUBLIC protos protobuf::libprotobuf yaml-cpp::yaml-cpp) |
