feature set FMT_USE_CPP11 false
This commit is contained in:
parent
f02cf8bb93
commit
c7e9fdc3d7
@ -8,9 +8,16 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
find_package(Threads REQUIRED)
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
set(FMT_USE_CPP11 OFF)
|
||||
set(FMT_TEST OFF)
|
||||
set(FMT_USE_CPP11 OFF)
|
||||
## CMP0063
|
||||
if (POLICY CMP0063)
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
endif ()
|
||||
if (POLICY CMP0048)
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
endif ()
|
||||
set(FMT_USE_CPP11 OFF CACHE BOOL "Use C++11" FORCE)
|
||||
set(FMT_TEST OFF CACHE BOOL "Build tests" FORCE)
|
||||
set(FMT_USE_CPP11 OFF CACHE BOOL "Use C++11" FORCE)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3party/fmt)
|
||||
|
||||
option(ULIB_BUILD_TESTS "Build tests" OFF)
|
||||
|
Loading…
x
Reference in New Issue
Block a user