Author: tkreuzer
Date: Thu Jun 16 09:16:56 2011
New Revision: 52271

URL: http://svn.reactos.org/svn/reactos?rev=52271&view=rev
Log:
[EXT2]
Don't add ext2 bootsector on MSVC builds

Modified:
    trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt

Modified: trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt?rev=52271&r1=52270&r2=52271&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/bootsect/CMakeLists.txt [iso-8859-1] Thu Jun 16 
09:16:56 2011
@@ -8,16 +8,16 @@
 CreateBootSectorTarget2(isoboot ${CMAKE_CURRENT_SOURCE_DIR}/isoboot.S 
${CMAKE_CURRENT_BINARY_DIR}/isoboot.bin 7000)
 CreateBootSectorTarget2(isobtrt ${CMAKE_CURRENT_SOURCE_DIR}/isobtrt.S 
${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin 7000)
 
-if(NOT MSVC)
-CreateBootSectorTarget(ext2 ${CMAKE_CURRENT_SOURCE_DIR}/ext2.asm 
${CMAKE_CURRENT_BINARY_DIR}/ext2.bin 0)
-endif()
-
 add_cd_file(TARGET dosmbr DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/dosmbr.bin FOR all)
-add_cd_file(TARGET ext2 DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/ext2.bin FOR all)
 add_cd_file(TARGET fat32 DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/fat32.bin FOR all)
 add_cd_file(TARGET fat DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/fat.bin FOR all)
 add_cd_file(TARGET isoboot DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/isoboot.bin FOR all)
 add_cd_file(TARGET isobtrt DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin FOR all)
 
+if(NOT MSVC)
+    CreateBootSectorTarget(ext2 ${CMAKE_CURRENT_SOURCE_DIR}/ext2.asm 
${CMAKE_CURRENT_BINARY_DIR}/ext2.bin 0)
+    add_cd_file(TARGET ext2 DESTINATION loader NO_CAB FILE 
${CMAKE_CURRENT_BINARY_DIR}/ext2.bin FOR all)
 endif()
 
+endif()
+


Reply via email to