- Fix smss build
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 16 Feb 2011 15:12:14 +0000 (15:12 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 16 Feb 2011 15:12:14 +0000 (15:12 +0000)
svn path=/branches/cmake-bringup/; revision=50758

base/system/smss/CMakeLists.txt

index a52cd7a..2d9bd19 100644 (file)
@@ -28,6 +28,7 @@ add_executable(smss WIN32 ${CMAKE_CURRENT_BINARY_DIR}/smss_smss.h.gch ${SOURCE})
 target_link_libraries(smss mingw_common nt smlib)
 if(MSVC)
     target_link_libraries(smss msvcsup)
+    set_entrypoint(smss DllMainCRTStartup)
 endif()
 
 add_pch(smss ${CMAKE_CURRENT_SOURCE_DIR}/smss.h ${SOURCE})