1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-15 22:21:00 +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)
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()
# Fix for not visible pthreads functions for linker with glibc 2.15