detect.cmake 266 B

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