mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
fix syntax error
link to static fmt lib again
This commit is contained in:
parent
a50af55582
commit
e8d1012d41
2 changed files with 5 additions and 5 deletions
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -40,4 +40,4 @@ jobs:
|
|||
|
||||
- name: build standalone with clang-tidy
|
||||
run: |
|
||||
cmake -S standalone -B build/standalone -DUSE_STATIC_ANALYZER=clang-tidy
|
||||
cmake -S standalone -B build/standalone -DUSE_STATIC_ANALYZER=clang-tidy
|
||||
|
|
|
@ -64,9 +64,9 @@ set_target_properties(
|
|||
# being a cross-platform target, we enforce standards conformance on MSVC
|
||||
target_compile_options(Greeter PUBLIC $<$<COMPILE_LANG_AND_ID:CXX,MSVC>:/permissive>)
|
||||
|
||||
# Link dependencies
|
||||
target_link_libraries(Greeter PUBLIC $<BUILD_INTERFACE:fmt::fmt-header-only>)
|
||||
# XXX target_link_libraries(Greeter PUBLIC fmt::fmt)
|
||||
# Link dependencies Note Either: target_link_libraries(Greeter PUBLIC
|
||||
# $<BUILD_INTERFACE:fmt::fmt-header-only>) Or:
|
||||
target_link_libraries(Greeter PUBLIC fmt::fmt)
|
||||
|
||||
set(INCLUDE_INSTALL_DIR include/${PROJECT_NAME}-${PROJECT_VERSION})
|
||||
target_include_directories(
|
||||
|
@ -98,5 +98,5 @@ packageProject(
|
|||
INCLUDE_DESTINATION ${INCLUDE_INSTALL_DIR}
|
||||
VERSION_HEADER ${VERSION_HEADER_LOCATION}
|
||||
COMPATIBILITY SameMajorVersion
|
||||
# XXX DEPENDENCIES "fmt 7.1.3"
|
||||
DEPENDENCIES "fmt 7.1.3"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue