[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 6 Oct 2014 18:22:07 +0000 (18:22 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 6 Oct 2014 18:22:07 +0000 (18:22 +0000)
* Don't add a dependency on a file.

svn path=/trunk/; revision=64560

reactos/cmake/msvc.cmake

index 7b3b272..3b0e1b8 100644 (file)
@@ -283,7 +283,6 @@ function(generate_import_lib _libname _dllname _spec_file)
     else()
         # NOTE: as stub file and def file are generated in one pass, depending on one is like depending on the other
         add_library(${_libname} STATIC EXCLUDE_FROM_ALL ${_asm_stubs_file})
-        add_dependencies(${_libname} ${_def_file})
         # set correct "link rule"
         set_target_properties(${_libname} PROPERTIES LINKER_LANGUAGE "IMPLIB")
     endif()