diff options
| author | Fuwn <[email protected]> | 2021-08-24 17:03:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-08-24 17:03:20 -0700 |
| commit | 5bfda19a2dc7f92d1551d312410746997ff039de (patch) | |
| tree | c986877db74ec0b9259ed72c82bd67eecd9105a4 | |
| parent | deps(soyuz): add fmtlib (diff) | |
| download | soyuz-5bfda19a2dc7f92d1551d312410746997ff039de.tar.xz soyuz-5bfda19a2dc7f92d1551d312410746997ff039de.zip | |
fix(deps): fmtlib
| -rw-r--r-- | CMakeLists.txt | 1 | ||||
| -rw-r--r-- | soyuz/CMakeLists.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a384fe1..606563a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,3 +33,4 @@ else () endif () add_subdirectory(${PROJECT_NAME}) +add_subdirectory(${fmt_SOURCE_DIR}) diff --git a/soyuz/CMakeLists.txt b/soyuz/CMakeLists.txt index 7904a23..2daa2df 100644 --- a/soyuz/CMakeLists.txt +++ b/soyuz/CMakeLists.txt @@ -29,4 +29,5 @@ else() endif() add_compile_options(-stdlib=libc++) -target_include_directories(${PROJECT_NAME} PRIVATE ${fmt_SOURCE_DIR}/include) +find_package(fmt) +target_link_libraries(${PROJECT_NAME} PRIVATE fmt) |