Skip to content

Commit

Permalink
update _example_integration (if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_D…
Browse files Browse the repository at this point in the history
…IR}/external/hello_imgui) add_subdirectory)
  • Loading branch information
pthom committed Jan 14, 2024
1 parent 5429360 commit 39c3a5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,13 @@ mark_as_advanced(HELLO_IMGUI_IMGUI_SHARED)
# HelloImGui Build Actions
###############################################################################

# Avoid building hello_imgui twice
if(TARGET ${HELLOIMGUI_TARGET})
message(STATUS "hello_imgui target (${HELLOIMGUI_TARGET}) target already defined!")
return()
endif()


#------------------------------------------------------------------------------
# MSVC: Select the solution folder where hello_imgui should be placed
#------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion _example_integration

0 comments on commit 39c3a5c

Please sign in to comment.