forked from mirror/openmw-tes3mp
Fix for possibly missing library on windows
This commit is contained in:
parent
e13a938896
commit
89c2a7e26b
2 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,11 @@ target_link_libraries(openmw-iniimporter
|
||||||
components
|
components
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
target_link_libraries(openmw-iniimporter
|
||||||
|
${Boost_LOCALE_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -municode")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -municode")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -172,6 +172,11 @@ target_link_libraries(components
|
||||||
${BULLET_LIBRARIES}
|
${BULLET_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
target_link_libraries(components
|
||||||
|
${Boost_LOCALE_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (DESIRED_QT_VERSION MATCHES 4)
|
if (DESIRED_QT_VERSION MATCHES 4)
|
||||||
target_link_libraries(components
|
target_link_libraries(components
|
||||||
${QT_QTCORE_LIBRARY}
|
${QT_QTCORE_LIBRARY}
|
||||||
|
|
Loading…
Reference in a new issue