mirror of
https://github.com/libretro/Play-.git
synced 2025-02-25 14:10:50 +00:00
Update CMakeLists.
fix windows builds
This commit is contained in:
parent
e3e3280009
commit
d6b0029c8b
4
Source/ui_win32/afxres.h
Normal file
4
Source/ui_win32/afxres.h
Normal file
@ -0,0 +1,4 @@
|
||||
// Res.rc needs to include afxres.h which is only found in specific Visual studio editions
|
||||
// this is used as a work around as winres.h can be used as a replacement
|
||||
// but Res.rc would automatically be overwritten, while this wont.
|
||||
#include "winres.h"
|
@ -120,6 +120,18 @@ if(WIN32)
|
||||
endif()
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../Nuanceur/include)
|
||||
list(APPEND PROJECT_LIBS Nuanceur)
|
||||
|
||||
find_package(DirectX9 REQUIRED)
|
||||
list(APPEND PROJECT_LIBS ${DirectX_D3D9_LIBRARY})
|
||||
list(APPEND PROJECT_LIBS ${DirectX_D3DX9_LIBRARY})
|
||||
include_directories(${DirectX_D3D9_INCLUDE_DIR} ${DirectX_D3DX9_INCLUDE_DIR})
|
||||
|
||||
find_package(GDIPLUS REQUIRED)
|
||||
list(APPEND PROJECT_LIBS ${GDIPLUS_LIBRARIES})
|
||||
include_directories(${GDIPLUS_INCLUDE_DIR})
|
||||
|
||||
list(APPEND PROJECT_LIBS comctl32 uxtheme opengl32 glu32 dxguid dinput8 vfw32 winmm gdiplus d3dcompiler Boost::date_time)
|
||||
|
||||
endif()
|
||||
|
||||
if (NOT TARGET Boost::boost)
|
||||
|
Loading…
x
Reference in New Issue
Block a user