Fix CMake build

This commit is contained in:
Connor McLaughlin 2020-09-06 18:27:50 +10:00
parent c8ecd031ff
commit d5d79e952c

View file

@ -16,18 +16,18 @@ if(WIN32)
endif() endif()
if(NOT BUILD_LIBRETRO_CORE) if(NOT BUILD_LIBRETRO_CORE)
target_sources(imgui PRIVATE target_sources(frontend-common PRIVATE
imgui_impl_opengl3.h imgui_impl_opengl3.h
imgui_impl_opengl3.cpp imgui_impl_opengl3.cpp
) )
target_sources(imgui PRIVATE target_sources(frontend-common PRIVATE
imgui_impl_vulkan.h imgui_impl_vulkan.h
imgui_impl_vulkan.cpp imgui_impl_vulkan.cpp
) )
if(WIN32) if(WIN32)
target_sources(imgui PRIVATE target_sources(frontend-common PRIVATE
imgui_impl_dx11.h imgui_impl_dx11.h
imgui_impl_dx11.cpp imgui_impl_dx11.cpp
) )