@ -18,7 +18,3 @@ if (BUILD_WITH_CODE_COVERAGE)
add_definitions (--coverage)
target_link_libraries(bsatool gcov)
endif()
if(MSVC)
target_link_libraries(bsatool imm32.lib winmm.lib version.lib)
endif(MSVC)
@ -21,7 +21,3 @@ if (BUILD_WITH_CODE_COVERAGE)
target_link_libraries(esmtool gcov)
target_link_libraries(esmtool imm32.lib winmm.lib version.lib)
@ -46,7 +46,3 @@ endif()
if (WIN32)
INSTALL(TARGETS openmw-essimporter RUNTIME DESTINATION ".")
endif(WIN32)
if (MSVC)
target_link_libraries(openmw-essimporter imm32.lib winmm.lib version.lib)
@ -96,10 +96,6 @@ target_link_libraries(openmw-launcher
components
)
target_link_libraries(openmw-launcher imm32.lib winmm.lib version.lib)
if (DESIRED_QT_VERSION MATCHES 4)
target_link_libraries(openmw-launcher ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY})
if(WIN32)
@ -25,10 +25,6 @@ if (WIN32)
INSTALL(TARGETS openmw-iniimporter RUNTIME DESTINATION ".")
target_link_libraries(openmw-iniimporter imm32.lib winmm.lib version.lib)
if (MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -municode")
@ -232,7 +232,6 @@ if (MSVC)
if (CMAKE_CL_64)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /bigobj")
endif (CMAKE_CL_64)
target_link_libraries(openmw-cs imm32.lib winmm.lib version.lib)
endif (MSVC)
@ -201,7 +201,6 @@ if (MSVC)
add_definitions("-D_USE_MATH_DEFINES")
target_link_libraries(openmw imm32.lib winmm.lib version.lib)
@ -206,7 +206,7 @@ target_link_libraries(components
${OSGFX_LIBRARIES}
${OSGANIMATION_LIBRARIES}
${Bullet_LIBRARIES}
${SDL2_LIBRARY}
${SDL2_LIBRARIES}
# For MyGUI platform
${GL_LIB}
${MyGUI_LIBRARIES}