freebsd-ports/devel/RStudio/files/patch-src_cpp_CMakeLists.txt
Yuri Victorovich da2f3f630c devel/RStudio: Revert "feat(create-turbo): apply official-starter transform"
This reverts commit 52c0456dd5.

I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
2024-10-02 12:38:44 -07:00

15 lines
890 B
Text

--- src/cpp/CMakeLists.txt.orig 2022-12-03 07:38:59 UTC
+++ src/cpp/CMakeLists.txt
@@ -468,9 +468,9 @@ endif()
# find SOCI libraries
if(UNIX)
if(NOT APPLE AND RSTUDIO_USE_SYSTEM_SOCI)
- find_library(SOCI_CORE_LIB NAMES "libsoci_core.a" "soci_core")
- find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.a" "soci_sqlite3")
- find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.a" "soci_postgresql")
+ find_library(SOCI_CORE_LIB NAMES "libsoci_core.so" "soci_core")
+ find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.so" "soci_sqlite3")
+ find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.so" "soci_postgresql")
if(NOT SOCI_CORE_LIB OR NOT SOCI_SQLITE_LIB OR NOT SOCI_POSTGRESQL_LIB)
message(FATAL_ERROR "Some or all SOCI libraries were not found. Ensure the SOCI dependency is installed and try again.")
endif()