diff options
Diffstat (limited to 'cmake/test.cmake')
-rw-r--r-- | cmake/test.cmake | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cmake/test.cmake b/cmake/test.cmake index f4309896b8..755edad892 100644 --- a/cmake/test.cmake +++ b/cmake/test.cmake @@ -1,13 +1,10 @@ add_vendor_target(gtest STATIC) +load_sources_list(MBGL_TEST_FILES cmake/test-files.txt) if (MBGL_TEST_TARGET_TYPE STREQUAL "library") - add_library(mbgl-test SHARED - ${MBGL_TEST_FILES} - ) + add_library(mbgl-test SHARED ${MBGL_TEST_FILES}) else() - add_executable(mbgl-test - ${MBGL_TEST_FILES} - ) + add_executable(mbgl-test ${MBGL_TEST_FILES}) endif() |