Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Podhorszki, Norbert
ADIOS2
Commits
6d7fcb5e
Commit
6d7fcb5e
authored
7 years ago
by
Atkins, Charles Vernon
Browse files
Options
Downloads
Plain Diff
Merge branch 'release'
* release: Fix compatibility issues with CMake v3.5
parents
e8e32530
a84774d6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/upstream/FindBZip2.cmake
+4
-4
4 additions, 4 deletions
cmake/upstream/FindBZip2.cmake
cmake/upstream/GoogleTest.cmake
+1
-1
1 addition, 1 deletion
cmake/upstream/GoogleTest.cmake
with
5 additions
and
5 deletions
cmake/upstream/FindBZip2.cmake
+
4
−
4
View file @
6d7fcb5e
...
@@ -36,7 +36,7 @@ if (NOT BZIP2_LIBRARIES)
...
@@ -36,7 +36,7 @@ if (NOT BZIP2_LIBRARIES)
find_library
(
BZIP2_LIBRARY_RELEASE NAMES bz2 bzip2
${
_BZIP2_PATHS
}
PATH_SUFFIXES lib
)
find_library
(
BZIP2_LIBRARY_RELEASE NAMES bz2 bzip2
${
_BZIP2_PATHS
}
PATH_SUFFIXES lib
)
find_library
(
BZIP2_LIBRARY_DEBUG NAMES bz2d bzip2d
${
_BZIP2_PATHS
}
PATH_SUFFIXES lib
)
find_library
(
BZIP2_LIBRARY_DEBUG NAMES bz2d bzip2d
${
_BZIP2_PATHS
}
PATH_SUFFIXES lib
)
include
(
${
CMAKE_CURRENT_LIST_DIR
}
/
SelectLibraryConfigurations
.cmake
)
include
(
SelectLibraryConfigurations
)
SELECT_LIBRARY_CONFIGURATIONS
(
BZIP2
)
SELECT_LIBRARY_CONFIGURATIONS
(
BZIP2
)
endif
()
endif
()
...
@@ -45,14 +45,14 @@ if (BZIP2_INCLUDE_DIR AND EXISTS "${BZIP2_INCLUDE_DIR}/bzlib.h")
...
@@ -45,14 +45,14 @@ if (BZIP2_INCLUDE_DIR AND EXISTS "${BZIP2_INCLUDE_DIR}/bzlib.h")
string
(
REGEX REPLACE
".* bzip2/libbzip2 version ([0-9]+
\\
.[^ ]+) of [0-9]+ .*"
"
\\
1"
BZIP2_VERSION_STRING
"
${
BZLIB_H
}
"
)
string
(
REGEX REPLACE
".* bzip2/libbzip2 version ([0-9]+
\\
.[^ ]+) of [0-9]+ .*"
"
\\
1"
BZIP2_VERSION_STRING
"
${
BZLIB_H
}
"
)
endif
()
endif
()
include
(
${
CMAKE_CURRENT_LIST_DIR
}
/
FindPackageHandleStandardArgs
.cmake
)
include
(
FindPackageHandleStandardArgs
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
BZip2
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
BZip2
REQUIRED_VARS BZIP2_LIBRARIES BZIP2_INCLUDE_DIR
REQUIRED_VARS BZIP2_LIBRARIES BZIP2_INCLUDE_DIR
VERSION_VAR BZIP2_VERSION_STRING
)
VERSION_VAR BZIP2_VERSION_STRING
)
if
(
BZIP2_FOUND
)
if
(
BZIP2_FOUND
)
include
(
${
CMAKE_CURRENT_LIST_DIR
}
/
CheckSymbolExists
.cmake
)
include
(
CheckSymbolExists
)
include
(
${
CMAKE_CURRENT_LIST_DIR
}
/
CMakePushCheckState
.cmake
)
include
(
CMakePushCheckState
)
cmake_push_check_state
()
cmake_push_check_state
()
set
(
CMAKE_REQUIRED_QUIET
${
BZip2_FIND_QUIETLY
}
)
set
(
CMAKE_REQUIRED_QUIET
${
BZip2_FIND_QUIETLY
}
)
set
(
CMAKE_REQUIRED_INCLUDES
${
BZIP2_INCLUDE_DIR
}
)
set
(
CMAKE_REQUIRED_INCLUDES
${
BZIP2_INCLUDE_DIR
}
)
...
...
This diff is collapsed.
Click to expand it.
cmake/upstream/GoogleTest.cmake
+
1
−
1
View file @
6d7fcb5e
...
@@ -188,7 +188,7 @@ function(gtest_add_tests)
...
@@ -188,7 +188,7 @@ function(gtest_add_tests)
# Note that this check is to allow backwards compatibility so this
# Note that this check is to allow backwards compatibility so this
# module can be copied locally in projects to use with older CMake
# module can be copied locally in projects to use with older CMake
# versions
# versions
if
(
CMAKE_VERSION VERSION_
GREATER_EQUAL
3.8.20170401
)
if
(
NOT
(
CMAKE_VERSION VERSION_
LESS
3.8.20170401
)
)
string
(
REGEX REPLACE
string
(
REGEX REPLACE
"(^|
\\
.)DISABLED_"
"
\\
1"
"(^|
\\
.)DISABLED_"
"
\\
1"
orig_test_name
"
${
gtest_test_name
}
"
orig_test_name
"
${
gtest_test_name
}
"
...
...
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