diff --git a/reactos/cmake/CMakeMacros.cmake b/reactos/cmake/CMakeMacros.cmake index 840339f0fcc..9b12087b238 100644 --- a/reactos/cmake/CMakeMacros.cmake +++ b/reactos/cmake/CMakeMacros.cmake @@ -264,9 +264,10 @@ function(set_module_type MODULE TYPE) endif() # set entry point - if(__module_ENTRYPOINT) + if(__module_ENTRYPOINT OR (__module_ENTRYPOINT STREQUAL "0")) list(GET __module_ENTRYPOINT 0 __entrypoint) list(LENGTH __module_ENTRYPOINT __length) + message(STATUS "Entrypoint ${__entrypoint}, module ${MODULE}") if(${__length} EQUAL 2) list(GET __module_ENTRYPOINT 1 __entrystack) elseif(NOT ${__length} EQUAL 1)