gbe_fork/cmake/share/cmake-3.27/Modules/IntelVSImplicitPath/detect.cmake

10 lines
275 B
CMake
Raw Normal View History

2023-12-17 02:34:09 +08:00
# 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()