Skip to content

Commit

Permalink
install Readme only if toplevel
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 30, 2023
1 parent 790f1ce commit 53b1b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,6 @@ if (HELLOIMGUI_BUILD_DOCS)
)
endif()

if (NOT IOS AND NOT ANDROID)
if (PROJECT_IS_TOP_LEVEL AND NOT IOS AND NOT ANDROID)
install(FILES README.md DESTINATION .)
endif()

0 comments on commit 53b1b65

Please sign in to comment.