Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Pedro
CMake
Commits
6a2851a1
Commit
6a2851a1
authored
9 years ago
by
Tamar Kranenburg
Committed by
Brad King
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
FindPostgreSQL: Remove extra whitespace after command open parens
parent
b7ca6f90
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/FindPostgreSQL.cmake
+3
-3
3 additions, 3 deletions
Modules/FindPostgreSQL.cmake
with
3 additions
and
3 deletions
Modules/FindPostgreSQL.cmake
+
3
−
3
View file @
6a2851a1
...
...
@@ -133,10 +133,10 @@ set (PostgreSQL_LIBRARY_TO_FIND pq)
set
(
PostgreSQL_LIB_PREFIX
""
)
if
(
WIN32
)
set
(
PostgreSQL_LIB_PREFIX
${
PostgreSQL_LIB_PREFIX
}
"lib"
)
set
(
PostgreSQL_LIBRARY_TO_FIND
${
PostgreSQL_LIB_PREFIX
}${
PostgreSQL_LIBRARY_TO_FIND
}
)
set
(
PostgreSQL_LIBRARY_TO_FIND
${
PostgreSQL_LIB_PREFIX
}${
PostgreSQL_LIBRARY_TO_FIND
}
)
endif
()
find_library
(
PostgreSQL_LIBRARY
find_library
(
PostgreSQL_LIBRARY
NAMES
${
PostgreSQL_LIBRARY_TO_FIND
}
PATHS
${
PostgreSQL_ROOT_DIRECTORIES
}
...
...
@@ -169,7 +169,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
find_package_handle_standard_args
(
PostgreSQL
REQUIRED_VARS PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR
VERSION_VAR PostgreSQL_VERSION_STRING
)
set
(
PostgreSQL_FOUND
${
POSTGRESQL_FOUND
}
)
set
(
PostgreSQL_FOUND
${
POSTGRESQL_FOUND
}
)
# Now try to get the include and library path.
if
(
PostgreSQL_FOUND
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment