Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
97dae68a
authored
8 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: when install prefix is set, cmake install prefix will be overridden in the cache
parent
784baa28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
CMakeCommon/SetInstallPaths.cmake
+1
-1
No files found.
CMakeCommon/SetInstallPaths.cmake
View file @
97dae68a
...
@@ -28,7 +28,7 @@ function(SetInstallPaths)
...
@@ -28,7 +28,7 @@ function(SetInstallPaths)
if
(
WIN32
)
if
(
WIN32
)
if
(
DEFINED INSTALL_PREFIX
)
if
(
DEFINED INSTALL_PREFIX
)
# User given install path given when calling cmake as "-DINSTALL_PREFIX=...".
# User given install path given when calling cmake as "-DINSTALL_PREFIX=...".
set
(
CMAKE_INSTALL_PREFIX
${
INSTALL_PREFIX
}
)
set
(
CMAKE_INSTALL_PREFIX
${
INSTALL_PREFIX
}
CACHE PATH
"Install path prefix, prepended onto install directories."
FORCE
)
else
()
else
()
file
(
TO_CMAKE_PATH
"$ENV{ProgramFiles}"
_PROG_FILES
)
# 32-bit dir on win32, useless to us on win64
file
(
TO_CMAKE_PATH
"$ENV{ProgramFiles}"
_PROG_FILES
)
# 32-bit dir on win32, useless to us on win64
file
(
TO_CMAKE_PATH
"$ENV{ProgramFiles(x86)}"
_PROG_FILES_X86
)
# 32-bit dir: only set on win64
file
(
TO_CMAKE_PATH
"$ENV{ProgramFiles(x86)}"
_PROG_FILES_X86
)
# 32-bit dir: only set on win64
...
...
This diff is collapsed.
Click to expand it.
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