Skip to content

Commit

Permalink
Manually moved libpngconf when building on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoDiDio committed Mar 30, 2024
1 parent 7a3d7eb commit 30c3abb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ set(SKIP_INSTALL_ALL ON CACHE BOOL "" FORCE)

add_subdirectory(libpng ${CMAKE_CURRENT_BINARY_DIR}/libpng EXCLUDE_FROM_ALL)

if( WIN32 )
configure_file(libpng/scripts/pnglibconf.h.prebuilt libpng/pnglibconf.h)
endif()

set(IMGUI_SOURCE_FILES cimgui/cimgui.cpp
cimgui/imgui/imgui.cpp
cimgui/imgui/imgui_draw.cpp
Expand Down

0 comments on commit 30c3abb

Please sign in to comment.