tests: fix link errors when GMIO_BUILD_SHARED_LIBS=ON

This commit is contained in:
Hugues Delorme 2016-07-05 15:53:27 +02:00
parent 058db6cb4d
commit 4e013f213c

View File

@ -50,6 +50,7 @@ if(GMIO_BUILD_SHARED_LIBS)
# exports all symbols)
set(GMIO_TEST_CORE_SRC
${GMIO_TEST_CORE_SRC}
../src/gmio_core/internal/locale_utils.c
../src/gmio_core/internal/numeric_utils.c
../src/gmio_core/internal/stringstream.c)
endif()
@ -69,6 +70,7 @@ if(GMIO_BUILD_SHARED_LIBS)
# See Note_1
set(GMIO_TEST_STL_SRC
${GMIO_TEST_STL_SRC}
../src/gmio_core/internal/locale_utils.c
../src/gmio_core/internal/numeric_utils.c
../src/gmio_stl/internal/stl_rw_common.c)
endif()