[ros-diffs] [jgardou] 55672: [CMAKE] - use quotes in reactos.dff for every platform. Paths beginning with '.' are no longer seen as directives

jgardou at svn.reactos.org jgardou at svn.reactos.org
Fri Feb 17 15:54:05 UTC 2012


Author: jgardou
Date: Fri Feb 17 15:54:05 2012
New Revision: 55672

URL: http://svn.reactos.org/svn/reactos?rev=55672&view=rev
Log:
[CMAKE]
 - use quotes in reactos.dff for every platform.
Paths beginning with '.' are no longer seen as directives

Modified:
    trunk/reactos/cmake/CMakeMacros.cmake

Modified: trunk/reactos/cmake/CMakeMacros.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeMacros.cmake?rev=55672&r1=55671&r2=55672&view=diff
==============================================================================
--- trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] Fri Feb 17 15:54:05 2012
@@ -155,11 +155,7 @@
             #add it in reactos.cab
             dir_to_num(${_CD_DESTINATION} _num)
             file(RELATIVE_PATH __relative_file ${REACTOS_SOURCE_DIR} ${_CD_FILE})
-            if(CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
-                file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "${__relative_file} ${_num}\n")
-            else()
-                file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "\"${__relative_file}\" ${_num}\n")
-            endif()
+            file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "\"${__relative_file}\" ${_num}\n")
             unset(__relative_file)
             if(_CD_TARGET)
                 #manage dependency




More information about the Ros-diffs mailing list