1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/vendor/Fmt/CMakeLists.txt

23 lines
587 B
CMake
Raw Normal View History

2020-09-04 23:02:20 +02:00
# Create library
add_library(FmtLib STATIC
include/fmt/chrono.h
include/fmt/color.h
include/fmt/compile.h
include/fmt/core.h
include/fmt/format-inl.h
include/fmt/format.h
include/fmt/locale.h
include/fmt/os.h
include/fmt/ostream.h
include/fmt/posix.h
include/fmt/printf.h
include/fmt/ranges.h
format.cc
os.cc
)
# Configure include folders
target_include_directories(FmtLib PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(FmtLib PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
# Configure macro options
target_compile_definitions(FmtLib PRIVATE _WIN32_WINNT=0x0601)