1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

Merge pull request #677 from Koncord/fix-def-conflict

Fix definition conflict
This commit is contained in:
scrawl 2015-07-19 19:40:34 +02:00
commit 23bfa29ae6

View File

@ -201,7 +201,10 @@ if (GIT_CHECKOUT)
endif (GIT_CHECKOUT) endif (GIT_CHECKOUT)
if (WIN32) if (WIN32)
target_link_libraries(components shlwapi) target_link_libraries(components shlwapi)
if(MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOGDI")
endif(MINGW)
endif() endif()
# Fix for not visible pthreads functions for linker with glibc 2.15 # Fix for not visible pthreads functions for linker with glibc 2.15