Skip to content

Commit

Permalink
TEMP imgui cache issues fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmanLP committed Jan 20, 2025
1 parent cdb3e0c commit 50b6957
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ include(CMake/GlobalSettingsInclude.cmake OPTIONAL)
################################################################################
set_property(GLOBAL PROPERTY USE_FOLDERS ON)

# FIXME: temp patch to resolve imgui cache issues
execute_process(
COMMAND git reset --hard
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/_deps/imgui-src
)

################################################################################
# Sub-projects
################################################################################
Expand Down Expand Up @@ -240,3 +246,13 @@ endif()

set(CPACK_PROJECT_CONFIG_FILE ${CMAKE_SOURCE_DIR}/CMake/Packaging-2.cmake)
include(CMake/Packaging.cmake)

# FIXME: temp patch to resolve imgui cache issues
execute_process(
COMMAND git add .
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/_deps/imgui-src
)
execute_process(
COMMAND git commit --author="Noname <[email protected]>" -a -m patch
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/_deps/imgui-src
)

0 comments on commit 50b6957

Please sign in to comment.