Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
fe5661e6
Commit
fe5661e6
authored
Feb 22, 2016
by
Eric Cano
Browse files
Made sure cmake loads the version information in all cases (including PackageOnly).
parent
dc847990
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
fe5661e6
...
...
@@ -71,6 +71,9 @@ else (NOT DEFINED SKIP_UNIT_TESTS)
message
(
STATUS
"Already set: SKIP_UNIT_TESTS=
${
SKIP_UNIT_TESTS
}
"
)
endif
(
NOT DEFINED SKIP_UNIT_TESTS
)
#Load version information in all cases.
include
(
cmake/CTAVersions.cmake
)
IF
(
DEFINED PackageOnly
)
message
(
STATUS
"Running CMake in package-only mode"
)
set
(
COMPILE_PACKAGING
"1"
)
...
...
@@ -104,7 +107,6 @@ ELSE(DEFINED PackageOnly)
set
(
CMAKE_DISABLE_IN_SOURCE_BUILD ON
)
list
(
APPEND CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/cmake
)
include
(
cmake/CTAInstallationFunctions.cmake
)
include
(
cmake/CTAVersions.cmake
)
include
(
GNUInstallDirs
)
set
(
CMAKE_INSTALL_PREFIX
"/"
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment