mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
Fix CMake build
This commit is contained in:
parent
b9e0c329d0
commit
4f1fc7abf0
|
@ -4,6 +4,8 @@ set(SRCS
|
|||
bitfield.h
|
||||
cd_image.cpp
|
||||
cd_image.h
|
||||
cd_image_bin.cpp
|
||||
cd_image_cue.cpp
|
||||
cd_xa.cpp
|
||||
cd_xa.h
|
||||
gl_program.cpp
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<ClCompile Include="audio_stream.cpp" />
|
||||
<ClCompile Include="cd_image.cpp" />
|
||||
<ClCompile Include="cd_image_bin.cpp" />
|
||||
<ClCompile Include="cd_image_cuesheet.cpp" />
|
||||
<ClCompile Include="cd_image_cue.cpp" />
|
||||
<ClCompile Include="gl_program.cpp" />
|
||||
<ClCompile Include="gl_texture.cpp" />
|
||||
<ClCompile Include="jit_code_buffer.cpp" />
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<ClCompile Include="cd_image.cpp" />
|
||||
<ClCompile Include="audio_stream.cpp" />
|
||||
<ClCompile Include="cd_xa.cpp" />
|
||||
<ClCompile Include="cd_image_cuesheet.cpp" />
|
||||
<ClCompile Include="cd_image_cue.cpp" />
|
||||
<ClCompile Include="cd_image_bin.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -16,6 +16,7 @@ add_library(core
|
|||
dma.h
|
||||
gpu.cpp
|
||||
gpu.h
|
||||
gpu_commands.cpp
|
||||
gpu_hw.cpp
|
||||
gpu_hw.h
|
||||
gpu_hw_opengl.cpp
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
set(SRCS
|
||||
icon.cpp
|
||||
main.cpp
|
||||
sdl_audio_stream.cpp
|
||||
sdl_audio_stream.h
|
||||
|
@ -8,4 +9,4 @@ set(SRCS
|
|||
|
||||
add_executable(duckstation ${SRCS})
|
||||
target_include_directories(duckstation PRIVATE "${SDL2_INCLUDE_DIRS}")
|
||||
target_link_libraries(duckstation core imgui "${SDL2_LIBRARIES}")
|
||||
target_link_libraries(duckstation core imgui nativefiledialog "${SDL2_LIBRARIES}")
|
||||
|
|
Loading…
Reference in a new issue