--- sdk/codelite_cppcheck/CMakeLists.txt.orig	2018-01-17 21:37:24 UTC
+++ sdk/codelite_cppcheck/CMakeLists.txt
@@ -5,8 +5,10 @@ cmake_minimum_required(VERSION 2.6.2)
 # visual studio, and in our makefiles. 
 project(codelitegcc)
 
+set (CMAKE_INCLUDE_DIRECTORIES ON)
+
 # Include paths
-include_directories("${CL_SRC_ROOT}/sdk/codelite_cppcheck/lib" "${CL_SRC_ROOT}/sdk/codelite_cppcheck/cli")
+include_directories(BEFORE "${CL_SRC_ROOT}/sdk/codelite_cppcheck/lib" "${CL_SRC_ROOT}/sdk/codelite_cppcheck/cli")
 
 set( ADDITIONAL_LIBRARIES "" )
 
