Add ${API_SOURCES} to nvim-test cmake target.

Fixes #720
This commit is contained in:
Thiago de Arruda 2014-05-14 16:41:42 -03:00
parent f0f4ab5500
commit 0d1094d709

View File

@ -108,6 +108,7 @@ if(NOT DEFINED ENV{SKIP_EXEC})
endif()
if(NOT DEFINED ENV{SKIP_UNITTEST})
add_library(nvim-test MODULE EXCLUDE_FROM_ALL ${NEOVIM_SOURCES} ${OS_SOURCES})
add_library(nvim-test MODULE EXCLUDE_FROM_ALL ${NEOVIM_SOURCES}
${OS_SOURCES} ${API_SOURCES})
target_link_libraries(nvim-test ${NVIM_LINK_LIBRARIES})
endif()