Skip to content

Commit 7c4ffbe

Browse files
committed
Look for libgrt.so in third-party/grt/tmp.
1 parent 50081f5 commit 7c4ffbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ elseif(UNIX)
132132
message("-- GRT found")
133133
else(GRT_FOUND)
134134
## If there is no GRT installed on the system, we use Xcode/ESP/libgrt.a
135-
message("-- GRT not installed, using Xcode/ESP/libgrt.a")
135+
message("-- GRT not installed, using third-party/grt/build/tmp/")
136136
set(GRT_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third-party/grt/)
137-
set(GRT_LIBRARY "-L${CMAKE_CURRENT_SOURCE_DIR}/Xcode/ESP/ -lgrt")
137+
set(GRT_LIBRARY "-L${CMAKE_CURRENT_SOURCE_DIR}/third-party/grt/build/tmp/ -lgrt -Wl,-rpath,${CMAKE_CURRENT_SOURCE_DIR}/third-party/grt/build/tmp/")
138138
endif(GRT_FOUND)
139139
set(SYS_LIBS "-L/usr/local/lib -lblas")
140140
endif()

0 commit comments

Comments
 (0)