widberg / bgfx.cmake

https://github.com/bkaradzic/bgfx.cmake. Independently maintained CMake build scripts for bgfx. Released under public domain.
https://github.com/bkaradzic/bgfx.cmake
Creative Commons Zero v1.0 Universal
286 stars 254 forks source link

fixing build of tools for MinGW #9

Closed onqtam closed 7 years ago

onqtam commented 7 years ago

otherwise I would get the following error when linking shaderc.exe

../../../../bin/gcc/Release/libbx.a(os.cpp.obj):os.cpp:(.text+0x49): undefined reference to `GetProcessMemoryInfo'

Note: I'm using MinGW-w64 gcc 7.1 and also have VS 2017 installed with the Game development with C++ workflow

JoshuaBrookover commented 7 years ago

Ah, nice. I wasn't sure since I haven't used MinGW in a while. Thanks!