Lines 463-471
Link Here
|
463 |
if(NOT APPLE AND RSTUDIO_USE_SYSTEM_SOCI) |
463 |
if(NOT APPLE AND RSTUDIO_USE_SYSTEM_SOCI) |
464 |
set(SOCI_LIBRARY_DIR "/usr/lib") |
464 |
set(SOCI_LIBRARY_DIR "/usr/lib") |
465 |
endif() |
465 |
endif() |
466 |
find_library(SOCI_CORE_LIB NAMES "libsoci_core.a" "soci_core" PATHS "${SOCI_LIBRARY_DIR}" NO_DEFAULT_PATH) |
466 |
find_library(SOCI_CORE_LIB NAMES "libsoci_core.a" "soci_core" PATHS "${SOCI_LIBRARY_DIR}" ) |
467 |
find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.a" "soci_sqlite3" PATHS "${SOCI_LIBRARY_DIR}" NO_DEFAULT_PATH) |
467 |
find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.a" "soci_sqlite3" PATHS "${SOCI_LIBRARY_DIR}" ) |
468 |
find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.a" "soci_postgresql" PATHS "${SOCI_LIBRARY_DIR}" NO_DEFAULT_PATH) |
468 |
find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.a" "soci_postgresql" PATHS "${SOCI_LIBRARY_DIR}" ) |
469 |
find_library(DL_LIB "dl") |
469 |
find_library(DL_LIB "dl") |
470 |
find_library(SQLITE_LIB "sqlite3") |
470 |
find_library(SQLITE_LIB "sqlite3") |
471 |
get_filename_component(SQLITE_LIB "${SQLITE_LIB}" REALPATH) |
471 |
get_filename_component(SQLITE_LIB "${SQLITE_LIB}" REALPATH) |