project (range-v3) set(SOURCES dummy.cpp ) add_library(${PROJECT_NAME} STATIC EXCLUDE_FROM_ALL ${SOURCES}) target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/range-v3/include)