@@ -27,16 +27,6 @@ endif()
27
27
# Don't let Abseil clobber our CMAKE_MSVC_RUNTIME_LIBRARY choice.
28
28
vcpkg_replace_string("${SOURCE_PATH} /CMakeLists.txt" "set(CMAKE_MSVC_RUNTIME_LIBRARY \" MultiThreaded$<$<CONFIG:Debug>:Debug>DLL\" )" "#set(CMAKE_MSVC_RUNTIME_LIBRARY \" MultiThreaded$<$<CONFIG:Debug>:Debug>DLL\" )" )
29
29
30
- vcpkg_cmake_configure(
31
- SOURCE_PATH "${SOURCE_PATH} "
32
- DISABLE_PARALLEL_CONFIGURE
33
- OPTIONS
34
- -DABSL_PROPAGATE_CXX_STD=OFF
35
- -DCMAKE_CXX_STANDARD=14
36
- ${ABSL_USE_CXX17_OPTION}
37
- ${ABSL_STATIC_RUNTIME_OPTION}
38
- )
39
-
40
30
# Don't let our customized version of Abseil pose as the real thing.
41
31
vcpkg_replace_string("${SOURCE_PATH} /absl/base/options.h" "ABSL_OPTION_INLINE_NAMESPACE_NAME lts_20240722" "ABSL_OPTION_INLINE_NAMESPACE_NAME lts_20240722_cesium_for_unreal" )
42
32
vcpkg_replace_string("${SOURCE_PATH} /absl/base/options.h" "ABSL_OPTION_USE_STD_ANY 2" "ABSL_OPTION_USE_STD_ANY 0" )
@@ -52,6 +42,16 @@ vcpkg_replace_string("${SOURCE_PATH}/absl/base/config.h" "#define ABSL_LTS_RELEA
52
42
vcpkg_replace_string("${SOURCE_PATH} /absl/time/time.h" "__cpp_impl_three_way_comparison" "__cpp_lib_three_way_comparison" )
53
43
vcpkg_replace_string("${SOURCE_PATH} /absl/strings/cord.h" "__cpp_impl_three_way_comparison" "__cpp_lib_three_way_comparison" )
54
44
45
+ vcpkg_cmake_configure(
46
+ SOURCE_PATH "${SOURCE_PATH} "
47
+ DISABLE_PARALLEL_CONFIGURE
48
+ OPTIONS
49
+ -DABSL_PROPAGATE_CXX_STD=OFF
50
+ -DCMAKE_CXX_STANDARD=14
51
+ ${ABSL_USE_CXX17_OPTION}
52
+ ${ABSL_STATIC_RUNTIME_OPTION}
53
+ )
54
+
55
55
vcpkg_cmake_install()
56
56
vcpkg_cmake_config_fixup(PACKAGE_NAME absl CONFIG_PATH lib/cmake/absl)
57
57
vcpkg_fixup_pkgconfig()
0 commit comments