zdoom-macos-deps/deps/cmake/share/cmake-3.25/Modules/IntelVSImplicitPath/detect.cmake
2023-01-10 16:43:43 +02:00

9 lines
266 B
CMake

# 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()