Explorar o código

cmake: don't quote INOTIFY_INCLUDE_DIRS

Anonymous Maarten %!s(int64=3) %!d(string=hai) anos
pai
achega
b60084eb0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -1520,7 +1520,7 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
         pkg_search_module(INOTIFY libinotify)
         pkg_search_module(INOTIFY libinotify)
         if(INOTIFY_FOUND)
         if(INOTIFY_FOUND)
           set(HAVE_INOTIFY 1)
           set(HAVE_INOTIFY 1)
-          target_include_directories(sdl-build-options INTERFACE "${INOTIFY_INCLUDE_DIRS}")
+          target_include_directories(sdl-build-options INTERFACE ${INOTIFY_INCLUDE_DIRS})
           list(APPEND SDL_EXTRA_LIBS ${INOTIFY_LIBRARIES})
           list(APPEND SDL_EXTRA_LIBS ${INOTIFY_LIBRARIES})
         endif()
         endif()
       endif()
       endif()