Compare commits

...

2 Commits

Author SHA1 Message Date
Joel Bodenmann cc0b175e7f cmake: Improve Findugfx.cmake 11 months ago
Joel Bodenmann ba9b9fb62b cmake: add driver file for drivers/multiple/Win32 11 months ago
  1. 2
      cmake/Findugfx.cmake
  2. 13
      drivers/multiple/Win32/driver.cmake

2
cmake/Findugfx.cmake

@ -48,4 +48,4 @@ list(REMOVE_DUPLICATES ugfx_INCLUDE_DIRS)
# Outsource heavy-lifting to cmake
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ugfx DEFAULT_MSG)
find_package_handle_standard_args(ugfx DEFAULT_MSG UGFX_ROOT ugfx_SOURCES ugfx_INCLUDE_DIRS)

13
drivers/multiple/Win32/driver.cmake

@ -0,0 +1,13 @@
set(ROOT_PATH ${UGFX_ROOT}/drivers/multiple/Win32)
list(APPEND ugfx_INCLUDE_DIRS
${ROOT_PATH}
)
list(APPEND ugfx_SOURCES
${ROOT_PATH}/gdisp_lld_Win32.c
)
list(APPEND ugfx_LIBS
gdi32
)
Loading…
Cancel
Save