From cc68d353e178185485eb0a58fba25257067f177d Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Tue, 15 Apr 2014 10:54:03 +0100 Subject: [PATCH] cmake: Don't use unqualified include paths --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6631b464..685710f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,8 +127,8 @@ if(CMAKE_COMPILER_IS_GNUCXX) #ctest_enable_coverage() endif() -include_directories(".") -include_directories("./test/external") +include_directories("${PROJECT_SOURCE_DIR}") +include_directories("${PROJECT_SOURCE_DIR}/test/external") add_subdirectory(glm) add_subdirectory(test)