mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -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
|
|
@ -244,8 +244,6 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
# Build cockatrice binary and link it
|
||||
ADD_EXECUTABLE(cockatrice WIN32 MACOSX_BUNDLE ${cockatrice_SOURCES} ${cockatrice_QM} ${cockatrice_RESOURCES_RCC} ${cockatrice_MOC_SRCS})
|
||||
set_property(TARGET cockatrice PROPERTY CXX_STANDARD 11)
|
||||
set_property(TARGET cockatrice PROPERTY CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if(Qt4_FOUND)
|
||||
if(MSVC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue