mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-04 00:05:36 +08:00
10 lines
275 B
CMake
10 lines
275 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()
|