--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,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
@@ -341,17 +341,19 @@
 
 # install
 install(
-    TARGETS ${PROJECT_NAME}
-    DESTINATION ${CMAKE_INSTALL_LIBDIR})
-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)
+    TARGETS ${PROJECT_NAME})
+
+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/BLF/ObjectHeaderBase.h
+++ b/src/Vector/BLF/ObjectHeaderBase.h
@@ -6,6 +6,8 @@
 
 #include <Vector/BLF/platform.h>
 
+#include <cstdint>
+
 #include <Vector/BLF/AbstractFile.h>
 
 #include <Vector/BLF/vector_blf_export.h>
--- a/src/Vector/BLF/platform.h
+++ b/src/Vector/BLF/platform.h
@@ -9,6 +9,7 @@
 #pragma once
 
 #include <Vector/BLF/config.h>
+#include <cstdint>
 
 /* GCC */
 #ifdef __GNUC__
--- a/src/Vector/CMakeLists.txt
+++ b/src/Vector/CMakeLists.txt
@@ -4,6 +4,8 @@
 
 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()
