summaryrefslogtreecommitdiffstats
path: root/Modules/FindIce.cmake
diff options
context:
space:
mode:
authorRoger Leigh <r.leigh@dundee.ac.uk>2014-09-09 15:28:11 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-09 15:45:51 (GMT)
commitd5047ca1b298a52c605be5f05a6458c8147872ae (patch)
treee99ed36db99b6e57ede02dddc02e735cb763a184 /Modules/FindIce.cmake
parent050caef3aa0ab47914423dd7346a52b559d703bb (diff)
downloadCMake-d5047ca1b298a52c605be5f05a6458c8147872ae.zip
CMake-d5047ca1b298a52c605be5f05a6458c8147872ae.tar.gz
CMake-d5047ca1b298a52c605be5f05a6458c8147872ae.tar.bz2
FindIce: Remove unneeded search path modification
Drop code adding redundant "/opt/Ice-${ice_version}" paths.
Diffstat (limited to 'Modules/FindIce.cmake')
-rw-r--r--Modules/FindIce.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/FindIce.cmake b/Modules/FindIce.cmake
index c437a40..50bc60e 100644
--- a/Modules/FindIce.cmake
+++ b/Modules/FindIce.cmake
@@ -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"