File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ endif()
17
17
include (GNUInstallDirs )
18
18
set (CPP-LAZY_INCLUDE_DIR "${CMAKE_INSTALL_INCLUDEDIR} " CACHE STRING "Installation directory of the include files" )
19
19
20
- option (CPP-LAZY_USE_MODULES "Enable C++20's modules" NO )
20
+ option (CPP-LAZY_USE_MODULES "Enable C++20's modules, experimental " NO )
21
21
22
22
if (CPP-LAZY_USE_MODULES )
23
23
set (CPP-LAZY_SOURCE_FILES "src/lz.cppm" )
Original file line number Diff line number Diff line change 1
1
include (CMakeFindDependencyMacro )
2
- find_dependency (fmt )
2
+
3
+ if (NOT CPP-LAZY_USE_STANDALONE )
4
+ find_dependency (fmt )
5
+ endif ()
3
6
4
7
include ("${CMAKE_CURRENT_LIST_DIR} /cpp-lazyTargets.cmake" )
Original file line number Diff line number Diff line change 93
93
# include < charconv>
94
94
# endif
95
95
96
- # if !defined(LZ_STANDALONE) || !defined(LZ_MODULE_EXPORT)
96
+ # if !defined(LZ_STANDALONE)
97
97
# include < fmt/format.h>
98
98
# include < fmt/ranges.h>
99
99
# endif
You can’t perform that action at this time.
0 commit comments