mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 21:31:20 +00:00
fix cmake build
This commit is contained in:
parent
81629e425c
commit
4497a2d09a
@ -283,7 +283,7 @@ if (FMT_OS)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_module_library(fmt src/fmt.cc FALLBACK
|
add_module_library(fmt src/fmt.cc FALLBACK
|
||||||
${FMT_SOURCES} ${FMT_HEADERS} README.rst ChangeLog.md
|
${FMT_SOURCES} ${FMT_HEADERS} README.md ChangeLog.md
|
||||||
IF FMT_MODULE)
|
IF FMT_MODULE)
|
||||||
add_library(fmt::fmt ALIAS fmt)
|
add_library(fmt::fmt ALIAS fmt)
|
||||||
if (FMT_MODULE)
|
if (FMT_MODULE)
|
||||||
@ -448,6 +448,6 @@ if (FMT_MASTER_PROJECT AND EXISTS ${gitignore})
|
|||||||
set(CPACK_SOURCE_IGNORE_FILES ${ignored_files})
|
set(CPACK_SOURCE_IGNORE_FILES ${ignored_files})
|
||||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME fmt-${FMT_VERSION})
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME fmt-${FMT_VERSION})
|
||||||
set(CPACK_PACKAGE_NAME fmt)
|
set(CPACK_PACKAGE_NAME fmt)
|
||||||
set(CPACK_RESOURCE_FILE_README ${PROJECT_SOURCE_DIR}/README.rst)
|
set(CPACK_RESOURCE_FILE_README ${PROJECT_SOURCE_DIR}/README.md)
|
||||||
include(CPack)
|
include(CPack)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user