FindPkgConfig: pkg_check_modules adding semicolons on windows
I have a pc file on windows with the contents:
prefix=C:/Program\ Files\ (x86)/lib2geom
exec_prefix=${prefix}
libdir="${exec_prefix}/lib"
includedir="${prefix}/include"
...
This produces the output I want:
pkg-config.exe --variable=includedir 2geom
"C:/Program Files (x86)/lib2geom/include"
however, when I run:
pkg_check_modules(2Geom 2geom>=1.1.0)
message("2geom libraries ${2Geom_INCLUDEDIR}")
This produces:
2geom libraries "C:/Program;Files;(x86)/lib2geom/include"
I have to comment out this line to get it to set up my vcxproj correctly
not sure what is preventing FindPkgConfig from handling spaces in paths correctly...
Edited by Brad King