[SNMPAPI]
[reactos.git] / reactos / dll / win32 / snmpapi / CMakeLists.txt
index 6a5f18f..7a5fa8b 100644 (file)
@@ -8,11 +8,10 @@ spec2def(snmpapi.dll snmpapi.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
     main.c
 
 list(APPEND SOURCE
     main.c
-    snmpapi.rc
     ${CMAKE_CURRENT_BINARY_DIR}/snmpapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
 
     ${CMAKE_CURRENT_BINARY_DIR}/snmpapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
 
-add_library(snmpapi SHARED ${SOURCE})
+add_library(snmpapi SHARED ${SOURCE} snmpapi.rc)
 set_module_type(snmpapi win32dll)
 target_link_libraries(snmpapi wine)
 add_importlibs(snmpapi msvcrt kernel32 ntdll)
 set_module_type(snmpapi win32dll)
 target_link_libraries(snmpapi wine)
 add_importlibs(snmpapi msvcrt kernel32 ntdll)