Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Feb 27, 2024
1 parent 0f197b0 commit 3f96a7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/AddExample.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ function(add_example)
return()
endif ()

if (arg_LINK_PHYSX AND NOT unofficial-omniverse-physx-sdk_FOUND)
message(AUTHOR_WARNING "physx not found, skipping '${arg_NAME}' example..")
return()
endif ()


if (NOT arg_SOURCES)
add_executable("${arg_NAME}" "${arg_NAME}.cpp")
Expand Down

0 comments on commit 3f96a7a

Please sign in to comment.