Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zstd
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
yocto-mirrors
zstd
Commits
ef59cc39
Unverified
Commit
ef59cc39
authored
1 year ago
by
Yann Collet
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3665 from gjasny/fix-asm-for-xcode
Fix Intel Xcode builds with assembly
parents
ccd49486
7e09f07b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/cmake/lib/CMakeLists.txt
+3
-1
3 additions, 1 deletion
build/cmake/lib/CMakeLists.txt
with
3 additions
and
1 deletion
build/cmake/lib/CMakeLists.txt
+
3
−
1
View file @
ef59cc39
...
...
@@ -105,7 +105,9 @@ endif ()
# Our assembly expects to be compiled by a C compiler, and is only enabled for
# __GNUC__ compatible compilers. Otherwise all the ASM code is disabled by
# macros.
set_source_files_properties
(
${
Sources
}
PROPERTIES LANGUAGE C
)
if
(
NOT CMAKE_ASM_COMPILER STREQUAL CMAKE_C_COMPILER
)
set_source_files_properties
(
${
Sources
}
PROPERTIES LANGUAGE C
)
endif
()
macro
(
add_definition target var
)
if
(
NOT
(
"
${${
var
}}
"
STREQUAL
""
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment