[CMAKE]
[reactos.git] / drivers / bus / isapnp / CMakeLists.txt
index a9e4e08..b563165 100644 (file)
@@ -1,6 +1,4 @@
 
-
-
 add_library(isapnp SHARED
     isapnp.c
     pdo.c
@@ -10,8 +8,5 @@ add_library(isapnp SHARED
 
 set_target_properties(isapnp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
 
-target_link_libraries(isapnp
-    -lntoskrnl
-    -lhal)
-
-add_dependencies(isapnp psdk bugcodes)
+add_importlibs(isapnp ntoskrnl hal)
+add_dependencies(isapnp psdk bugcodes buildno_header)