mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-10-20 17:19:23 +00:00
Use the same compiler passed to cmake for libpqtypes.
Don't bother the user with silly messages, if the compiler doesn't work then it just won't work. But at least try, u damn script!
This commit is contained in:
parent
0f308455ca
commit
354c760a07
2 changed files with 1 additions and 6 deletions
|
@ -13,7 +13,7 @@ function (import_libpqtypes_project PostgreSQL_INCLUDE_DIRS RELEASE_C_FLAGS)
|
|||
DOWNLOAD_COMMAND ""
|
||||
SOURCE_DIR ${libpqtypes_base_path}
|
||||
PREFIX ${libpqtypes_prefix}
|
||||
CONFIGURE_COMMAND ${libpqtypes_base_path}/configure --prefix ${libpqtypes_prefix} "CPPFLAGS=${libpqtypes_inc_dirs}"
|
||||
CONFIGURE_COMMAND ${libpqtypes_base_path}/configure --prefix ${libpqtypes_prefix} "CC=${CMAKE_C_COMPILER}" "CPPFLAGS=${libpqtypes_inc_dirs}"
|
||||
"CFLAGS=$<$<CONFIG:Release>:${RELEASE_C_FLAGS}>" --quiet
|
||||
BUILD_COMMAND ${MAKE}
|
||||
BUILD_IN_SOURCE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue