update for winmm and cross compile
This commit is contained in:
parent
b0ebd30865
commit
16259c9505
|
|
@ -187,6 +187,10 @@ elseif ("${PLATFORM}" STREQUAL "Memory")
|
|||
set(PLATFORM_CPP "PLATFORM_MEMORY")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_SOFTWARE")
|
||||
set(OPENGL_VERSION "Software")
|
||||
|
||||
if(WIN32 OR CMAKE_C_COMPILER MATCHES "mingw|mingw32|mingw64")
|
||||
set(LIBS_PRIVATE winmm)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
if (NOT ${OPENGL_VERSION} MATCHES "OFF")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user