message(SEND_ERROR"Couldn't detect your compiler's architecture, you'll have to manually specify the GLFW library to use. (Try checking CMakeOutput.log to find out why.)")
endif()
endif()
if(MSVC11)#VisualC++2012
if(MSVC11)#VisualC++2012
@ -84,8 +87,11 @@ if (ENABLE_GLFW)
#Assumemingw
#Assumemingw
if(CMAKE_SIZEOF_VOID_PEQUAL8)
if(CMAKE_SIZEOF_VOID_PEQUAL8)
set(TMP_ARCH"x86_64")
set(TMP_ARCH"x86_64")
else()
elseif(CMAKE_SIZEOF_VOID_PEQUAL4)
set(TMP_ARCH"i686")
set(TMP_ARCH"i686")
else()
set(TMP_ARCH"UNKNOWN")
message(SEND_ERROR"Couldn't detect your compiler's architecture, you'll have to manually specify the GLFW library to use.")