Introduce NNFW_GTEST_LIBS for test programs (#497)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Mon, 9 Apr 2018 01:36:32 +0000 (10:36 +0900)
committer오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 9 Apr 2018 01:36:32 +0000 (10:36 +0900)
This will introduce NNFW_GTEST_LIBS variables having gtest libraries for test programs

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
CMakeLists.txt

index 4697b3b..b4dfe61 100644 (file)
@@ -118,6 +118,8 @@ if("${TARGET_OS}" STREQUAL "tizen" AND BUILD_IS_NATIVE)
   include_directories(${GTEST_INCLUDE_DIR})
 endif()
 
+# gtest libs
+set(NNFW_GTEST_LIBS libgtest.a libgtest_main.a pthread)
 
 add_subdirectory(externals)
 add_subdirectory(tools)