FindIce: Remove unneeded search path modification

Drop code adding redundant "/opt/Ice-${ice_version}" paths.
This commit is contained in:
Roger Leigh 2014-09-09 16:28:11 +01:00 committed by Brad King
parent 050caef3aa
commit d5047ca1b2
1 changed files with 0 additions and 7 deletions

View File

@ -242,13 +242,6 @@ function(_Ice_FIND)
message(STATUS "Ice version: ${Ice_VERSION_SLICE2CPP_FULL}")
# The following searches prefer the version found; note reverse
# order due to prepending.
if(NOT MSVC)
list(INSERT ice_roots 0 "/opt/Ice-${Ice_VERSION_SLICE2CPP_SHORT}")
list(INSERT ice_roots 0 "/opt/Ice-${Ice_VERSION_SLICE2CPP_FULL}")
endif()
# Find include directory
find_path(Ice_INCLUDE_DIR
NAMES "Ice/Ice.h"