--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,4 @@
-include_directories( ${CMAKE_SOURCE_DIR}/src ) 
+include_directories( BEFORE ${CMAKE_SOURCE_DIR}/src ) 
 add_subdirectory(parser)
 add_subdirectory(panotools-wrappers)
 add_subdirectory(vips)