Another try at fixing cmake build

This commit is contained in:
Behdad Esfahbod 2019-04-24 16:41:57 -07:00
parent c69f02784a
commit 3fc066314a
1 changed files with 1 additions and 1 deletions

View File

@ -844,7 +844,7 @@ endif ()
if (HB_BUILD_TESTS)
## src/ executables
foreach (prog main test test-gsub-would-substitute test-gpos-size-params test-buffer-serialize hb-ot-tag test-unicode-ranges test-ot-name)
foreach (prog main test test-gsub-would-substitute test-gpos-size-params test-buffer-serialize hb-ot-tag test-unicode-ranges)
set (prog_name ${prog})
if (${prog_name} STREQUAL "test")
# test can not be used as a valid executable name on cmake, lets special case it