mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
fmt library does not supporting shared lib yet
format all files again
This commit is contained in:
parent
75c10df2d8
commit
e3d8699d36
1 changed files with 5 additions and 4 deletions
|
@ -64,10 +64,11 @@ 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 Note:
|
||||
# Link dependencies Note: fmt::fmt is not suppoting shared library builds! CK
|
||||
|
||||
# Either: target_link_libraries(Greeter PUBLIC $<BUILD_INTERFACE:fmt::fmt-header-only>) Or:
|
||||
target_link_libraries(Greeter PUBLIC fmt::fmt)
|
||||
# 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(
|
||||
|
@ -99,5 +100,5 @@ packageProject(
|
|||
INCLUDE_DESTINATION ${INCLUDE_INSTALL_DIR}
|
||||
VERSION_HEADER ${VERSION_HEADER_LOCATION}
|
||||
COMPATIBILITY SameMajorVersion
|
||||
DEPENDENCIES "fmt 7.1.3"
|
||||
# XXX DEPENDENCIES "fmt 7.1.3"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue