How do I specify a path with white space in it with CMake?

前端 未结 2 641
别跟我提以往
别跟我提以往 2021-01-17 08:05

Consider:

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

What\'s the decent way to deal with a path like the a

2条回答
  •  萌比男神i
    2021-01-17 08:35

    You have to escape the spaces with a \.

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

提交回复
热议问题