Skip to content

Commit

Permalink
Update the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
eukarpov committed Feb 17, 2025
1 parent a3e6de6 commit a6f6b06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,8 @@ message(STATUS "Hello!")
message(STATUS "1! ${EP_COMMON_TOOLCHAIN}")
message(STATUS "2! ${EP_CXX_FLAGS}")

string(APPEND EP_CXX_FLAGS " -target arm64-windows-msvc -shared")

# External projects are still able to override the following declarations.
# cmake command line will favor the last defined variable when a duplicate is
# encountered. This requires that `EP_COMMON_CMAKE_ARGS` is always the first
Expand All @@ -956,7 +958,6 @@ set(EP_COMMON_CMAKE_ARGS
-DBUILD_STATIC_LIBS=ON
-DBUILD_TESTING=OFF
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCXX_COMMON_FLAGS="-target arm64-windows-msvc -shared"
-DCMAKE_CXX_FLAGS=${EP_CXX_FLAGS}
-DCMAKE_CXX_FLAGS_DEBUG=${EP_CXX_FLAGS_DEBUG}
-DCMAKE_CXX_FLAGS_MISIZEREL=${EP_CXX_FLAGS_MINSIZEREL}
Expand Down

0 comments on commit a6f6b06

Please sign in to comment.