Skip to content

Commit

Permalink
make the OGRE plugin path discovery portable
Browse files Browse the repository at this point in the history
  • Loading branch information
seanyen authored Jun 30, 2020
1 parent 827c40d commit 6e23de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindOGRE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if (OGRE_FOUND)
# `plugindir` variable. We have to call pkg-config manually to get it.
# On Windows, we assume that all the OGRE* defines are passed in manually
# to CMake.
if (NOT WIN32)
if (PKG_CONFIG_FOUND)
execute_process(COMMAND pkg-config --variable=plugindir OGRE
OUTPUT_VARIABLE _pkgconfig_invoke_result
RESULT_VARIABLE _pkgconfig_failed)
Expand Down

0 comments on commit 6e23de8

Please sign in to comment.