Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix program files osg search

  • Loading branch information...
commit 3ea43dc726d289f72f4fc4c35b8d8acc47b17ab0 1 parent 14e987f
Ryan Pavlik authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 SearchProgramFilesForOpenSceneGraph.cmake
6 SearchProgramFilesForOpenSceneGraph.cmake
View
@@ -33,8 +33,10 @@ if(WIN32)
elseif(MSVC90)
list_filter_out(_osgpaths "[vV][cC]8" ${_osgpaths})
endif()
- list(SORT _osgpaths)
- list(REVERSE _osgpaths)
+ if(_osgpaths)
+ list(SORT _osgpaths)
+ list(REVERSE _osgpaths)
+ endif()
endif()
else()
prefix_list_glob(_osgpaths "/OpenSceneGraph*" /usr /usr/local /opt)
Please sign in to comment.
Something went wrong with that request. Please try again.