Skip to content

Commit ca1fa2f

Browse files
committed
Fixing cmake error
1 parent 4f8a207 commit ca1fa2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf/cmake/functions.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ macro(macro_check_module_architect path_module target_name target_proc var_compa
148148
set(_data "")
149149
if (APPLE)
150150
# Check if it's a .tbd file (text-based stub) - these are multi-arch by design
151-
cmake_path(GET path_module EXTENSION _file_ext)
151+
set(_module_path "${path_module}")
152+
cmake_path(GET _module_path EXTENSION _file_ext)
152153
if ("${_file_ext}" STREQUAL ".tbd")
153154
# .tbd files are text-based stubs that contain architecture info
154155
# Parse the targets line: "targets: [ x86_64-macos, arm64-macos, arm64e-macos ]"

0 commit comments

Comments
 (0)