mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-25 15:16:02 +00:00
Ehh... things.
This commit is contained in:
parent
7686741ef9
commit
392c58c4b0
@ -4,7 +4,7 @@ project(libUtil)
|
||||
IF(APPLE)
|
||||
# assume clang 4.1.0+, add C++0x/C++11 stuff
|
||||
message(STATUS "Using APPLE CMAKE_CXX_FLAGS")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -stdlib=libc++")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
ELSEIF(UNIX)
|
||||
# assume GCC, add C++0x/C++11 stuff
|
||||
MESSAGE(STATUS "Using UNIX CMAKE_CXX_FLAGS")
|
||||
|
@ -100,7 +100,7 @@ void InstanceList::saveGroupList()
|
||||
}
|
||||
toplevel.insert("groups",groupsArr);
|
||||
QJsonDocument doc(toplevel);
|
||||
groupFile.write(doc.toJson(QJsonDocument::Indented));
|
||||
groupFile.write(doc.toJson());
|
||||
groupFile.close();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user