[cmake] Don't build src/main

Closes #2108
This commit is contained in:
Ebrahim Byagowi 2020-01-24 20:22:27 +03:30
parent 1a6d53d3c0
commit f7187e90d2
1 changed files with 1 additions and 1 deletions

View File

@ -791,7 +791,7 @@ endif ()
if (HB_BUILD_TESTS)
## src/ executables
foreach (prog main test test-gsub-would-substitute test-gpos-size-params test-buffer-serialize test-unicode-ranges) # hb-ot-tag
foreach (prog test test-gsub-would-substitute test-gpos-size-params test-buffer-serialize test-unicode-ranges) # hb-ot-tag
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