Fix for possibly missing library on windows

c++11
scrawl 10 years ago
parent e13a938896
commit 89c2a7e26b

@ -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…
Cancel
Save