diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6900562e633c2adbe8ffc077fa5b7457504f13f7..354c4cd1fc792ec8e26589095d256433eb79d6f3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,14 +32,11 @@ endif()
 
 # Install project cmake targets
 include(CMakePackageConfigHelpers)
-configure_file(cmake/${PROJECT_NAME}-config.cmake.in
-               ${PROJECT_NAME}-config.cmake @ONLY)
 write_basic_package_version_file(
   ${PROJECT_NAME}-config-version.cmake
   VERSION ${cudawrappers_VERSION}
   COMPATIBILITY AnyNewerVersion)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
-              ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
         DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
 
 # --- auto-ignore build directory
diff --git a/cmake/Utils.cmake b/cmake/Utils.cmake
deleted file mode 100644
index d20abf7468c715cdb5e3f26a706f1337201e680c..0000000000000000000000000000000000000000
--- a/cmake/Utils.cmake
+++ /dev/null
@@ -1,13 +0,0 @@
-# Make it possible to #include cuda source code
-function(include_cuda_code target input_file)
-  # Save file containing cuda code as a C++ raw string literal
-  file(READ ${input_file} content)
-  set(delim "for_c++_include")
-  set(content "R\"${delim}(\n${content})${delim}\"")
-  set(output_file "${CMAKE_CURRENT_BINARY_DIR}/${input_file}")
-  file(WRITE ${output_file} "${content}")
-  # Add save path to the include directories
-  get_filename_component(output_subdir ${input_file} DIRECTORY)
-  target_include_directories(
-    ${target} PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/${output_subdir}")
-endfunction(include_cuda_code)
diff --git a/libtcc/CMakeLists.txt b/libtcc/CMakeLists.txt
index 3c89eac3efeba2579152a04532bac920c1f65839..7e9cb2483ad10bb052932ee59cf6f5f26e0a9e87 100644
--- a/libtcc/CMakeLists.txt
+++ b/libtcc/CMakeLists.txt
@@ -20,5 +20,4 @@ install(
 # Install tcc cmake targets
 install(
   EXPORT tcc-config
-  NAMESPACE ${PROJECT_NAME}::
   DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
\ No newline at end of file