[CMAKE]
authorDavid Quintana <gigaherz@gmail.com>
Sun, 23 Feb 2014 18:15:20 +0000 (18:15 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Sun, 23 Feb 2014 18:15:20 +0000 (18:15 +0000)
* Actually do what I said.

svn path=/branches/shell-experiments/; revision=62309

cmake/msvc.cmake

index 6bfe1e6..ff82dfa 100644 (file)
@@ -121,14 +121,7 @@ set(CMAKE_ASM_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})
 
 if(PCH)
     macro(add_pch _target _pch _sources)
-
-        # Workaround for the MSVC toolchain (MSBUILD) /MP bug
-        set(_temp_gch ${CMAKE_CURRENT_BINARY_DIR}/${_target}.pch)
-        if(MSVC_IDE)
-            file(TO_NATIVE_PATH ${_temp_gch} _gch)
-        else()
-            set(_gch ${_temp_gch})
-        endif()
+        set(_gch ${CMAKE_CURRENT_BINARY_DIR}/${_target}.pch)
 
         if(IS_CPP)
             set(_pch_language CXX)