File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ if(${GA_BUILD_SAMPLE})
210210endif ()
211211
212212add_library (GameAnalytics ${LIB_TYPE} ${CPP_SOURCES} )
213- target_link_libraries (GameAnalytics PRIVATE ${LIBS} PUBLIC ${PUBLIC_LIBS} )
213+ target_link_libraries (GameAnalytics PRIVATE ${LIBS} PUBLIC ${PUBLIC_LIBS} -lc )
214214message (STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
215215message (STATUS "CMAKE_EXE_LINKER_FLAGS: ${CMAKE_EXE_LINKER_FLAGS} " )
216216message (STATUS "CMAKE_SHARED_LINKER_FLAGS: ${CMAKE_SHARED_LINKER_FLAGS} " )
@@ -240,7 +240,7 @@ add_executable(${UT_PROJECT_NAME} ${TEST_SRC_FILES})
240240########################################
241241# Standard linking to gtest and gmock components
242242########################################
243- target_link_libraries (${UT_PROJECT_NAME} gtest gtest_main gmock_main)
243+ target_link_libraries (${UT_PROJECT_NAME} gtest gtest_main gmock_main -lc )
244244
245245########################################
246246# Linking to GA SDK
You can’t perform that action at this time.
0 commit comments