Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
gflags
Commits
e9144aa1
Commit
e9144aa1
authored
May 01, 2014
by
Andreas Schuh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make LIBRARY_INSTALL_DIR configurable by the user.
parent
44d1d163
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
CMakeLists.txt
CMakeLists.txt
+8
-2
No files found.
CMakeLists.txt
View file @
e9144aa1
...
@@ -280,9 +280,15 @@ if (OS_WINDOWS)
...
@@ -280,9 +280,15 @@ if (OS_WINDOWS)
set
(
CONFIG_INSTALL_DIR CMake
)
set
(
CONFIG_INSTALL_DIR CMake
)
else
()
else
()
set
(
RUNTIME_INSTALL_DIR bin
)
set
(
RUNTIME_INSTALL_DIR bin
)
set
(
LIBRARY_INSTALL_DIR lib
${
LIB_SUFFIX
}
)
# The LIB_SUFFIX variable is used by the Fedora package maintainers.
# Also package maintainers of other distribution packages need to be able
# to specify the name of the library directory.
set
(
LIBRARY_INSTALL_DIR lib
${
LIB_SUFFIX
}
CACHE STRING
"Directory name for installed libraries, e.g.,
\"
lib64
\"
"
)
mark_as_advanced
(
LIBRARY_INSTALL_DIR
)
set
(
INCLUDE_INSTALL_DIR include
)
set
(
INCLUDE_INSTALL_DIR include
)
set
(
CONFIG_INSTALL_DIR
lib
${
LIB_SUFFIX
}
/cmake/
${
PACKAGE_NAME
}
)
set
(
CONFIG_INSTALL_DIR
${
LIBRARY_INSTALL_DIR
}
/cmake/
${
PACKAGE_NAME
}
)
endif
()
endif
()
file
(
RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR
"
${
CMAKE_INSTALL_PREFIX
}
/
${
CONFIG_INSTALL_DIR
}
"
"
${
CMAKE_INSTALL_PREFIX
}
"
)
file
(
RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR
"
${
CMAKE_INSTALL_PREFIX
}
/
${
CONFIG_INSTALL_DIR
}
"
"
${
CMAKE_INSTALL_PREFIX
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment