mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
cmake: Enable c++11 for all targets
This commit is contained in:
parent
18993b397b
commit
a55b3784eb
4 changed files with 3 additions and 6 deletions
|
|
@ -117,8 +117,6 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
# Build servatrice binary and link it
|
||||
ADD_EXECUTABLE(servatrice MACOSX_BUNDLE ${servatrice_SOURCES} ${servatrice_RESOURCES_RCC} ${servatrice_MOC_SRCS})
|
||||
set_property(TARGET servatrice PROPERTY CXX_STANDARD 11)
|
||||
set_property(TARGET servatrice PROPERTY CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if(Qt4_FOUND)
|
||||
if(MSVC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue