Skip to content

Commit 87c5a1f

Browse files
authored
use find_library for locating libreadstat.so (#5990)
1 parent 4aecd52 commit 87c5a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/CMake/Libraries.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ if(LINUX)
185185
endif()
186186

187187
message(CHECK_START "Looking for libreadstat.so")
188-
find_file(LIBREADSTAT_LIBRARIES libreadstat.so
188+
find_library(LIBREADSTAT_LIBRARIES libreadstat.so
189189
HINTS ${LIBREADSTAT_LIBRARY_DIRS} REQUIRED)
190190

191191
if(EXISTS ${LIBREADSTAT_LIBRARIES})

0 commit comments

Comments
 (0)