- Apply same fix for wmilib
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 15 Feb 2011 17:39:00 +0000 (17:39 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 15 Feb 2011 17:39:00 +0000 (17:39 +0000)
- set_entrypoint macro appears to be broken for msvc 16.00.30319.01 (VS 2010)

svn path=/branches/cmake-bringup/; revision=50716

drivers/wmi/CMakeLists.txt

index 92de8e5..ed3850a 100644 (file)
@@ -8,8 +8,8 @@ list(APPEND SOURCE
 
 add_library(wmilib SHARED ${SOURCE})
 
-set_module_type(wmilib kernelmodedriver)
 set_entrypoint(wmilib 0)
+set_target_properties(wmilib PROPERTIES SUFFIX ".sys")
 add_importlibs(wmilib ntoskrnl)
 add_importlib_target(wmilib.spec)