Improving ICC CMake hints

fixes #396
This commit is contained in:
manuelk 2015-02-12 10:57:04 -08:00
parent 7152b1b1bf
commit 35c927209e

View File

@ -181,11 +181,13 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_IC
find_library( ICC_${ICC_LIB}
NAMES
${ICC_LIB}
HINTS
${ICC_LOCATION}
PATHS
${ICC_LOCATION}/lib
/opt/intel/lib/
PATH_SUFFIXES
${ICC_LIB_ARCH}
lib/${ICC_LIB_ARCH}
)
if (ICC_${ICC_LIB})