Libraries built outside the catkin workspace

I am facing error with the include directories in my cmake. I tried all the scopes possible but still get this error. The GTSAM library is in shared folder “/usr/local/include” but still I am facing error.

CMake Error at autorally/autorally_core/src/StateEstimator/CMakeLists.txt:18 (target_include_directories):
  Cannot specify include directories for target "SYSTEM" which is not built
  by this project.

CMakeList.txt (Line1 18 target_include_directories)

# SET(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "/usr/include/boost")
# SET(CMAKE_LIBRARY_PATH $(CMAKE_LIBRARY_PATH) "")
list(APPEND CMAKE_PREFIX_PATH "/usr/share/cmake")
list(APPEND CMAKE_PREFIX_PATH "/usr/include/boost")
list(APPEND CMAKE_PREFIX_PATH "/usr/include/tbb")
find_package(Eigen3 REQUIRED)
find_package(GeographicLib REQUIRED)
find_package(TBB REQUIRED)
find_package (Boost REQUIRED COMPONENTS system filesystem thread chrono date_time atomic serialization regex timer)
include_directories(SYSTEM ${Boost_LIBRARY_DIRS})

include_directories(include ${catkin_INCLUDE_DIRS})
include_directories(SYSTEM ${EIGEN3_INCLUDE_DIR})

find_package(GTSAM)
if(GTSAM_FOUND)
  find_package(TBB)
  target_include_directories(SYSTEM ${GTSAM_INCLUDE_DIR} "/usr/local/include" ${Boost_INCLUDE_DIRS} ) 

  add_executable(StateEstimator StateEstimator.cpp)
message(==========${GeographicLib_LIBRARY_DIRS}/${GeographicLib_LIBRARIES})
  target_link_libraries(StateEstimator ${catkin_LIBRARIES} ${ROS_LIBRARIES} gtsam ${GeographicLib_LIBRARY_DIRS}/libGeographic.so ${TBB_LIBRARIES} ar_diagnostics ${Boost_LIBRARIES})
  add_dependencies(StateEstimator autorally_msgs_gencpp)

  install(TARGETS StateEstimator
          ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
          LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
          RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
endif()

Anyone @robert.maynard

For target_include_directories() you need to specify the target name as first argument but SYSTEM ist not a target name. Maybe read the documentation of this cmake command again.