cmake - Missing trailing slash for path variable -


i have following variable in cmake:

set(local_drop "~/mydrop/" cache path "path drop folder.") 

and works expected. same if change cmake-gui.

but if try set cmake -dlocal_drop=/my/path/to/folder/ trailing slash missing.

any hints?

i think it's done on purpose cmake itself. can suppress changing variable type string, what's problem behavior?


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -