Skip to content

Commit

Permalink
hello_imgui_test_engine_cmake: fix win debug build / python lib path
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Nov 20, 2024
1 parent 6ba7c0e commit 36df55a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ function(configure_imgui_test_engine_with_python_gil)
# Not linking with Python::Python will fail outside of skbuild...
target_link_libraries(imgui_test_engine PUBLIC Python::Python)
endif()

if (WIN32)
# Band aid for windows debug build, where the python lib may not be found...
target_link_directories(imgui_test_engine PUBLIC ${Python_LIBRARY_DIRS})
endif()
endfunction()


Expand Down

0 comments on commit 36df55a

Please sign in to comment.