Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LoadStaticSharedTargets
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
LoadStaticSharedTargets
Commits
af9fd8e4
Unverified
Commit
af9fd8e4
authored
1 year ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Fix minimum required CMake version in package config
parent
bf86ab32
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
packaging/LoadStaticSharedTargetsConfig.cmake
+4
-4
4 additions, 4 deletions
packaging/LoadStaticSharedTargetsConfig.cmake
with
4 additions
and
4 deletions
packaging/LoadStaticSharedTargetsConfig.cmake
+
4
−
4
View file @
af9fd8e4
...
...
@@ -23,12 +23,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
]]
cmake_minimum_required
(
VERSION 3.2
3
)
cmake_minimum_required
(
VERSION 3.2
5
)
# If CMake >=3.24 is used, set policies up to v3.24 to NEW
if
(
NOT
${
CMAKE_VERSION
}
VERSION_LESS 3.24
)
cmake_policy
(
VERSION 3.24
)
endif
()
#
if (NOT ${CMAKE_VERSION} VERSION_LESS 3.24)
#
cmake_policy(VERSION 3.24)
#
endif()
# include(LoadStaticSharedTargets) should work after this
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_LIST_DIR
}
"
)
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