@ -22,8 +22,7 @@ pkg_search_module(GLFW REQUIRED glfw3)
IF (APPLE)
FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation)
SET(CMAKE_CXX_FLAGS "-stdlib=libc++")
SET(CMAKE_CXX_FLAGS_DEBUG "-stdlib=libc++")
SET(CMAKE_CXX_FLAGS_RELEASE "-stdlib=libc++")
SET(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++")
ENDIF (APPLE)
#external includes
@ -25,7 +25,7 @@
#define HAVE_CXX11_SYNTAX 1
#endif
//#if HAVE_CXX11_SYNTAX
#if HAVE_CXX11_SYNTAX
// An inheritable class to disallow the copy constructor and operator= functions
class NonCopyable
{
@ -37,7 +37,7 @@ private:
NonCopyable(NonCopyable&);
NonCopyable& operator=(NonCopyable& other);
};
//#endif
#include "common/log.h"
#include "common/common_types.h"