mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-31 22:21:13 +02:00
fmt must be dependent, no idea why for private use
fix generaotr expression too, hopfully
This commit is contained in:
parent
a1356ca20d
commit
3c55643690
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ target_sources(Greeter PRIVATE ${headers} ${sources})
|
||||||
|
|
||||||
# being a cross-platform target, we enforce standards conformance on MSVC
|
# being a cross-platform target, we enforce standards conformance on MSVC
|
||||||
# this should not exported on UNIX! CK
|
# this should not exported on UNIX! CK
|
||||||
# FIXME target_compile_options(Greeter PUBLIC "$<$<BOOL:${MSVC}>:/permissive->")
|
target_compile_options(Greeter PUBLIC "$<$<CXX_COMPILER_ID:MSVC>:/permissive->")
|
||||||
|
|
||||||
# Link dependencies (if required)
|
# Link dependencies (if required)
|
||||||
target_link_libraries(Greeter PRIVATE fmt::fmt-header-only)
|
target_link_libraries(Greeter PRIVATE fmt::fmt-header-only)
|
||||||
|
@ -94,5 +94,5 @@ packageProject(
|
||||||
INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include
|
INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include
|
||||||
INCLUDE_DESTINATION include/${PROJECT_NAME}-${PROJECT_VERSION}
|
INCLUDE_DESTINATION include/${PROJECT_NAME}-${PROJECT_VERSION}
|
||||||
VERSION_HEADER "${VERSION_HEADER_LOCATION}"
|
VERSION_HEADER "${VERSION_HEADER_LOCATION}"
|
||||||
#XXX DEPENDENCIES fmt
|
DEPENDENCIES fmt
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue