From 0e65074148b1f789371947edefc7e901412a597d Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Fri, 17 Aug 2012 15:09:15 -0700 Subject: [PATCH] Fixing compilation with no NO_CLANG_COMPLETER --- cpp/ycm/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/ycm/CMakeLists.txt b/cpp/ycm/CMakeLists.txt index 65f7cb5e..9f4e7175 100644 --- a/cpp/ycm/CMakeLists.txt +++ b/cpp/ycm/CMakeLists.txt @@ -60,7 +60,9 @@ if ( NO_CLANG_COMPLETER ) add_definitions( -DNO_CLANG_COMPLETER ) else() - include_directories( "${CURRENT_SOURCE_DIR}/ClangCompleter" ) + include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_SOURCE_DIR}/ClangCompleter" ) endif() #############################################################################