Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
3a258ee5
Commit
3a258ee5
authored
Dec 08, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CMakeList for older versions of CMake
parent
1586c4b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.cmake
cmake/utils.cmake
+1
-1
No files found.
cmake/utils.cmake
View file @
3a258ee5
...
...
@@ -30,7 +30,7 @@ function(spdlog_enable_warnings target_name)
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wextra -Wconversion -pedantic -Wfatal-errors>
$<$<CXX_COMPILER_ID:MSVC>:/W4>
)
if
(
MSVC_VERSION GREATER
_EQUAL 1910
)
#Allow non fatal security wanrnings for msvc 2015
if
(
MSVC_VERSION GREATER
1900
)
#Allow non fatal security wanrnings for msvc 2015
target_compile_options
(
${
target_name
}
PRIVATE /WX
)
endif
()
endfunction
()
...
...
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