diff --git a/CTestConfig.cmake b/CTestConfig.cmake
index 17329af4d8af3bac3f6c75420fc2fc1694b1be58..bb95c68b23d5341d3da52ffd92abe579ae1d5789 100644
--- a/CTestConfig.cmake
+++ b/CTestConfig.cmake
@@ -30,7 +30,7 @@ if(NOT BUILDNAME)
     endif()
 
     # Add compiler name
-    get_filename_component(CMAKE_C_COMPILER_NAME ${CMAKE_C_COMPILER} NAME)  
+    get_filename_component(CMAKE_C_COMPILER_NAME ${CMAKE_C_COMPILER} NAME)
     set(BUILDNAME "${BUILDNAME}-${CMAKE_C_COMPILER_NAME}")
 
     # Add the build type, e.g. "Debug, Release..."
@@ -53,10 +53,7 @@ if(NOT BUILDNAME)
 
     if(CHAMELEON_USE_CUDA)
         set(BUILDNAME "${BUILDNAME}-cuda")
-    endif(CHAMELEON_USE_CUDA)  
+    endif(CHAMELEON_USE_CUDA)
 
 endif()
 
-
-
-