comctl32 is needed by Framework_Win32 and not PsfPlayer or Play!

This commit is contained in:
Mahmood(Thunder07) 2018-01-13 02:29:15 +00:00
parent bd5472d23f
commit e18b8e1266
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ if(TARGET_PLATFORM_WIN32)
endif()
list(APPEND PROJECT_LIBS Framework_Win32)
list(APPEND PROJECT_LIBS comctl32 uxtheme opengl32 glu32 dinput8 d3d9 vfw32 winmm gdiplus Boost::date_time)
list(APPEND PROJECT_LIBS uxtheme opengl32 glu32 dinput8 d3d9 vfw32 winmm gdiplus Boost::date_time)
endif()

View File

@ -48,7 +48,7 @@ if(TARGET_PLATFORM_WIN32)
list(APPEND PROJECT_LIBS d3dcompiler)
endif()
list(APPEND PROJECT_LIBS comctl32 uxtheme opengl32 glu32 dinput8 d3d9 vfw32 winmm gdiplus Boost::date_time)
list(APPEND PROJECT_LIBS uxtheme opengl32 glu32 dinput8 d3d9 vfw32 winmm gdiplus Boost::date_time)
if(NOT TARGET gsh_opengl_win32)
add_library(gsh_opengl_win32 STATIC

View File

@ -83,7 +83,7 @@ set(WIN32_SRC
)
add_executable(PsfPlayer WIN32 ${WIN32_SRC} Res.rc)
target_link_libraries(PsfPlayer PUBLIC d3d9 uxtheme Comctl32 ${PROJECT_LIBS} ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../Dependencies/tdemu-1.10/TDEmu64.lib ${AUDIO_LIBS})
target_link_libraries(PsfPlayer PUBLIC d3d9 uxtheme ${PROJECT_LIBS} ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../Dependencies/tdemu-1.10/TDEmu64.lib ${AUDIO_LIBS})
target_include_directories(PsfPlayer
PUBLIC
./