[x265] [PATCH] fix build depend problem on ASM files

Min Chen chenm003 at 163.com
Thu Oct 17 11:40:32 CEST 2013


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1382002824 -28800
# Node ID b59b17d13cbb346c6f92895089ae8fd644b9cddf
# Parent  deac47dfda442b0ca9ebcbce328f2addc384506a
fix build depend problem on ASM files

diff -r deac47dfda44 -r b59b17d13cbb source/common/CMakeLists.txt
--- a/source/common/CMakeLists.txt	Thu Oct 17 17:16:34 2013 +0800
+++ b/source/common/CMakeLists.txt	Thu Oct 17 17:40:24 2013 +0800
@@ -202,7 +202,7 @@
             add_custom_command(
                 OUTPUT ${ASM}.obj
                 COMMAND ${YASM_EXECUTABLE} ARGS ${FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/x86/${ASM} -o ${ASM}.obj
-                DEPENDS ${ASM})
+                DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/x86/${ASM})
         endforeach()
         add_library(assembly STATIC x86/asm-primitives.cpp x86/pixel.h ${FULLPATHASM} ${OBJS})
     else()



More information about the x265-devel mailing list