mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CMAKE]
- handle '0' entry point in set_module_type_function svn path=/trunk/; revision=53556
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user