Skip to content

Commit 82f06c1

Browse files
committed
Polishing.
1 parent ee87384 commit 82f06c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/detect_tf_catkin.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ endif()
3333
set(ADDITIONAL_LIBS "")
3434
if(${HAS_TENSORFLOW_GPU})
3535
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
36-
find_library(gomp_LIBRARY gomp PATHS ${tensorflow_catkin_LIBRARY_DIRS})
37-
set(ADDITIONAL_LIBS ${gomp_LIBRARY})
36+
find_library(libgomp1_LIBRARIES gomp PATHS ${tensorflow_catkin_LIBRARY_DIRS})
37+
set(ADDITIONAL_LIBS ${libgomp1_LIBRARIES})
3838
endif()
3939
endif()
4040

0 commit comments

Comments
 (0)