We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db5b32 commit bfd7bfeCopy full SHA for bfd7bfe
examples/eager_op_multithread/CMakeLists.txt
@@ -5,10 +5,13 @@ find_library(TENSORFLOW_LIB tensorflow HINT $ENV{HOME}/libtensorflow2/lib)
5
find_package(Threads REQUIRED)
6
7
set(CMAKE_CXX_STANDARD 17)
8
+#set(CMAKE_CXX_STANDARD 20)
9
+
10
11
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=thread")
12
#set(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -fno-omit-frame-pointer -fsanitize=thread")
13
14
add_executable(example main.cpp)
15
target_include_directories(example PRIVATE ../../include $ENV{HOME}/libtensorflow2/include)
-target_link_libraries(example "${TENSORFLOW_LIB}" Threads::Threads)
16
+target_link_libraries (example "${TENSORFLOW_LIB}")
17
+target_link_libraries(example "${TENSORFLOW_LIB}" Threads::Threads)
0 commit comments