summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2018-09-20 15:42:05 +0800
committerLu Qiuwen <[email protected]>2018-09-20 15:42:05 +0800
commit6d48482a7813f8ff793a4ec1940c0600e0ca792b (patch)
treeacd6b3951188e9939ed774e1dba5666337bc6c8a /CMakeLists.txt
parentbb27166df03a5cd209bf719f80c14bf7d2a81640 (diff)
增加tfe_stream类型转字符串的工具函数及对应单元测试用例
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0dfc2f2..eaef82b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,8 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -Wall)
+add_definitions(-D_GNU_SOURCE)
+
enable_testing()
add_subdirectory(vendor)
add_subdirectory(common)