How do I specify a path with white space in it wit

2019-02-21 12:08发布

问题:

Consider:

include_directories("D:/FMOD SoundSystem/FMOD Programmers API Win32/api")

What's the decent way to deal with a path like the above in CMake?

回答1:

You have to escape the spaces with a \.

D:/FMOD\ SoundSystem/FMOD\ Programmers\ API\ Win32/api


回答2:

include_directories("D:/FMOD\ SoundSystem/FMOD\ Programmers\ API\ Win32/api")


标签: windows cmake