--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,8 @@
 option(OPTION_USE_GCOV "Build with gcov to generate coverage data on execution" OFF)
 option(OPTION_USE_GPROF "Build with gprof" OFF)
 option(OPTION_ADD_LCOV "Add lcov targets to generate HTML coverage report" OFF)
+# Turn OFF, if you are using FetchContent to include it to your project
+option(FETCH_CONTENT_INCLUSION "Include project with FetchContent_Declare in another project. In this case the headers and the cmake files are not needed, only the library" OFF)
 
 # directories
 include(GNUInstallDirs)
--- a/src/Vector/BLF/CMakeLists.txt
+++ b/src/Vector/BLF/CMakeLists.txt
@@ -329,15 +329,18 @@
 # install
 install(
     TARGETS ${PROJECT_NAME})
-install(
-    FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc
-    DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-install(
-    FILES
-        ${CMAKE_CURRENT_BINARY_DIR}/vector_blf_export.h
-        ${CMAKE_CURRENT_BINARY_DIR}/config.h
-        $<TARGET_PROPERTY:${PROJECT_NAME},INTERFACE_SOURCES>
-    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Vector/BLF)
+
+if (NOT FETCH_CONTENT_INCLUSION)
+    install(
+        FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+    install(
+        FILES
+            ${CMAKE_CURRENT_BINARY_DIR}/vector_blf_export.h
+            ${CMAKE_CURRENT_BINARY_DIR}/config.h
+            $<TARGET_PROPERTY:${PROJECT_NAME},INTERFACE_SOURCES>
+        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Vector/BLF)
+endif()
 
 # sub directories
 add_subdirectory(docs)
--- a/src/Vector/CMakeLists.txt
+++ b/src/Vector/CMakeLists.txt
@@ -1,5 +1,7 @@
 add_subdirectory(BLF)
 
-install(
-    FILES BLF.h
-    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Vector)
+if (NOT FETCH_CONTENT_INCLUSION)
+    install(
+        FILES BLF.h
+        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Vector)
+endif()
