mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-19 03:28:25 -04:00
Fix building WITH_CXX11 on OS X.
This commit is contained in:
parent
98417d6465
commit
d83fee89bd
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ endif()
|
|||
if (WITH_CXX11)
|
||||
add_gcc_compiler_cxxflags("-std=c++0x")
|
||||
add_gcc_compiler_cflags("-ansi")
|
||||
if(APPLE)
|
||||
add_gcc_compiler_cxxflags("-stdlib=libc++")
|
||||
endif()
|
||||
else()
|
||||
add_gcc_compiler_flags("-ansi")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue