Skip to content

Commit

Permalink
Skip the system directories when looking for OGRE (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored Jan 7, 2019
1 parent 712f903 commit 61de77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rviz_ogre_vendor/rviz_ogre_vendor-extras.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ message(STATUS "Setting OGRE_DIR to: '${OGRE_DIR}'")
set(FREETYPE_HOME "${rviz_ogre_vendor_DIR}/../../../opt/rviz_ogre_vendor")
set(ZLIB_HOME "${rviz_ogre_vendor_DIR}/../../../opt/rviz_ogre_vendor")

find_package(OGRE REQUIRED)
find_package(OGRE REQUIRED NO_SYSTEM_ENVIRONMENT_PATH)
message(STATUS "OGRE_LIBRARIES: ${OGRE_LIBRARIES}")
message(STATUS "OGRE_LIBRARY_DIRS: ${OGRE_LIBRARY_DIRS}")
message(STATUS "OGRE_PLUGINS: ${OGRE_PLUGINS}")
Expand Down

0 comments on commit 61de77f

Please sign in to comment.