mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
exclude test-ext-autorelease.c in SOURCE_UNIT_TEST_EXT_MODULES properly (#4485)
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
parent
5e483633f3
commit
fd0ca7da69
@ -35,7 +35,7 @@ set(SOURCE_UNIT_TEST_EXT_MODULES
|
|||||||
|
|
||||||
# Disable test-ext-autorelease.c if compiler is MSVC, because MSVC doesn't support cleanup attribute.
|
# Disable test-ext-autorelease.c if compiler is MSVC, because MSVC doesn't support cleanup attribute.
|
||||||
if(USING_MSVC)
|
if(USING_MSVC)
|
||||||
list(REMOVE_ITEM SOURCE_UNIT_TEST_EXT_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/test-ext-autorelease.c)
|
list(REMOVE_ITEM SOURCE_UNIT_TEST_EXT_MODULES test-ext-autorelease.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Unit tests declaration
|
# Unit tests declaration
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user