Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d111e6ae
Commit
d111e6ae
authored
Sep 27, 2020
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clang-cl build
parent
d34523fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
cmake/os/Windows.cmake
cmake/os/Windows.cmake
+5
-1
No files found.
cmake/os/Windows.cmake
View file @
d111e6ae
...
@@ -104,7 +104,8 @@ MACRO(ENABLE_SANITIZERS)
...
@@ -104,7 +104,8 @@ MACRO(ENABLE_SANITIZERS)
STRING
(
APPEND CMAKE_C_STANDARD_LIBRARIES
"
\"
${${
lib
}
_fullpath
}
\"
"
)
STRING
(
APPEND CMAKE_C_STANDARD_LIBRARIES
"
\"
${${
lib
}
_fullpath
}
\"
"
)
STRING
(
APPEND CMAKE_CXX_STANDARD_LIBRARIES
"
\"
${${
lib
}
_fullpath
}
\"
"
)
STRING
(
APPEND CMAKE_CXX_STANDARD_LIBRARIES
"
\"
${${
lib
}
_fullpath
}
\"
"
)
ENDFOREACH
()
ENDFOREACH
()
STRING
(
APPEND CMAKE_C_FLAGS
${
SANITIZER_COMPILE_FLAGS
}
)
STRING
(
APPEND CMAKE_CXX_FLAGS
${
SANITIZER_COMPILE_FLAGS
}
)
ENDMACRO
()
ENDMACRO
()
...
@@ -178,6 +179,9 @@ IF(MSVC)
...
@@ -178,6 +179,9 @@ IF(MSVC)
-Wno-deprecated-register -Wno-missing-braces \
-Wno-deprecated-register -Wno-missing-braces \
-Wno-unused-function -Wno-unused-local-typedef -msse4.2 "
-Wno-unused-function -Wno-unused-local-typedef -msse4.2 "
)
)
IF
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
STRING
(
APPEND CLANG_CL_FLAGS
"-mpclmul "
)
ENDIF
()
STRING
(
APPEND CMAKE_C_FLAGS
"
${
CLANG_CL_FLAGS
}
${
MSVC_CRT_TYPE
}
"
)
STRING
(
APPEND CMAKE_C_FLAGS
"
${
CLANG_CL_FLAGS
}
${
MSVC_CRT_TYPE
}
"
)
STRING
(
APPEND CMAKE_CXX_FLAGS
"
${
CLANG_CL_FLAGS
}
${
MSVC_CRT_TYPE
}
"
)
STRING
(
APPEND CMAKE_CXX_FLAGS
"
${
CLANG_CL_FLAGS
}
${
MSVC_CRT_TYPE
}
"
)
ENDIF
()
ENDIF
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment