@@ -27,16 +27,6 @@ endif()
2727# Don't let Abseil clobber our CMAKE_MSVC_RUNTIME_LIBRARY choice.
2828vcpkg_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\" )" )
2929
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-
4030# Don't let our customized version of Abseil pose as the real thing.
4131vcpkg_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" )
4232vcpkg_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
5242vcpkg_replace_string("${SOURCE_PATH} /absl/time/time.h" "__cpp_impl_three_way_comparison" "__cpp_lib_three_way_comparison" )
5343vcpkg_replace_string("${SOURCE_PATH} /absl/strings/cord.h" "__cpp_impl_three_way_comparison" "__cpp_lib_three_way_comparison" )
5444
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+
5555vcpkg_cmake_install()
5656vcpkg_cmake_config_fixup(PACKAGE_NAME absl CONFIG_PATH lib/cmake/absl)
5757vcpkg_fixup_pkgconfig()
0 commit comments