File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ install(TARGETS s2 EXPORT s2Targets)
441
441
# that they can referenced by downstream projects as `s2::s2` after a
442
442
# successful `find_package` call.
443
443
install (EXPORT s2Targets
444
- NAMESPACE s2
444
+ NAMESPACE s2::
445
445
FILE s2Targets.cmake
446
446
DESTINATION share/s2/)
447
447
Original file line number Diff line number Diff line change 1
1
@PACKAGE_INIT@
2
2
3
+ include (CMakeFindDependencyMacro)
4
+ find_dependency(absl CONFIG)
5
+
3
6
include ("${CMAKE_CURRENT_LIST_DIR} /s2Targets.cmake" )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ namespace {
50
50
template <typename T>
51
51
unique_ptr<T> make_unique_for_overwrite (size_t n) {
52
52
// We only need to support this one variant.
53
- static_assert (std::is_array<T>::value);
53
+ static_assert (std::is_array<T>::value, " T must be an array type " );
54
54
return unique_ptr<T>(new typename absl::remove_extent_t <T>[n]);
55
55
}
56
56
} // namespace
You can’t perform that action at this time.
0 commit comments