cmake: Fix handling of path seperators (fixes #7294)
parent
ec1bd22b15
commit
edcddb3a28
6 changed files with 30 additions and 5 deletions
@ -0,0 +1,9 @@ |
||||
find_package(ZLIB) |
||||
|
||||
if(ZLIB_FOUND OR ZLIB_Found) |
||||
set(cmMesonTestF1_FOUND ON) |
||||
set(cmMesonTestF1_LIBRARIES ${ZLIB_LIBRARY}) |
||||
set(cmMesonTestF1_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR}) |
||||
else() |
||||
set(cmMesonTestF1_FOUND OFF) |
||||
endif() |
@ -0,0 +1,9 @@ |
||||
find_package(ZLIB) |
||||
|
||||
if(ZLIB_FOUND OR ZLIB_Found) |
||||
set(cmMesonTestF2_FOUND ON) |
||||
set(cmMesonTestF2_LIBRARIES ${ZLIB_LIBRARY}) |
||||
set(cmMesonTestF2_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR}) |
||||
else() |
||||
set(cmMesonTestF2_FOUND OFF) |
||||
endif() |
@ -1,5 +1,5 @@ |
||||
{ |
||||
"env": { |
||||
"CMAKE_PREFIX_PATH": "@ROOT@/cmake_pref_env" |
||||
"CMAKE_PREFIX_PATH": "@ROOT@/cmake_fake1;@ROOT@/cmake_fake2:@ROOT@/cmake_pref_env" |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue