diff --git a/cmake/util/ConfigureDebugging.cmake b/cmake/util/ConfigureDebugging.cmake index 6379799..ca32262 100644 --- a/cmake/util/ConfigureDebugging.cmake +++ b/cmake/util/ConfigureDebugging.cmake @@ -121,7 +121,7 @@ function( configure_debugging ARG_TARGET ) endif() endforeach() # Create string to put in proj.vcxproj.user file - set( RESULT "" ) + set( RESULT "\n" ) foreach( CONFIG ${CONFIGS} ) string( TOUPPER ${CONFIG} CONFIG_CAPS ) foreach( PROCESSOR ${PROCESSORS} ) @@ -145,6 +145,7 @@ function( configure_debugging ARG_TARGET ) endif() endforeach() endforeach() - configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/util/vcxproj.user.in ${CMAKE_CURRENT_BINARY_DIR}/${ARG_TARGET}.vcxproj.user @ONLY ) + set( RESULT "${RESULT}\n" ) + file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/${ARG_TARGET}.vcxproj.user "${RESULT}" ) endif() endfunction() diff --git a/cmake/util/vcxproj.user.in b/cmake/util/vcxproj.user.in deleted file mode 100644 index e4610b8..0000000 --- a/cmake/util/vcxproj.user.in +++ /dev/null @@ -1,3 +0,0 @@ - -@RESULT@ -