summaryrefslogtreecommitdiffstats
path: root/Modules/IntelVSImplicitPath/detect.cmake
blob: 20753bef49849adedc71cebfae08c4c5b55431c3 (plain)
1
2
3
4
5
6
7
8
9
# look at each path and try to find ifconsol.lib
set(LIB "$ENV{LIB}")
foreach(dir ${LIB})
  file(TO_CMAKE_PATH "${dir}" dir)
  if(EXISTS "${dir}/ifconsol.lib")
    file(WRITE output.cmake "list(APPEND implicit_dirs \"${dir}\")\n")
    break()
  endif()
endforeach()