Skip to content

Fix #697, use VERSION_LESS instead of VERSION_GREATER_EQUAL#698

Closed
jphickey wants to merge 1 commit intonasa:mainfrom
jphickey:fix-697-rhel-cmake
Closed

Fix #697, use VERSION_LESS instead of VERSION_GREATER_EQUAL#698
jphickey wants to merge 1 commit intonasa:mainfrom
jphickey:fix-697-rhel-cmake

Conversation

@jphickey
Copy link
Contributor

Describe the contribution
The VERSION_GREATER/LESS_EQUAL comparisons wer not introduced until CMake 3.7. However, the basic VERSION_GREATER/LESS (no equal) comparison is much older, and 2.8.12 has no complaint about it. So use VERSION_LESS and invert the condition.

Fixes #697

Testing performed
Build for VxWorks 6.9 on RHEL 7.9

Expected behavior changes
Makefiles are generated and build succeeds.

System(s) tested on
VxWorks 6.9 using RHEL 7.9 host

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

@jphickey
Copy link
Contributor Author

Recommend fast track because the main branch is broken.

@jphickey
Copy link
Contributor Author

Changed my mind on this, I came up with a different workaround that lets vxworks 6.9 use the posix dir implementation. Probably should have done that first...

@jphickey jphickey closed this Dec 28, 2020
@jphickey jphickey deleted the fix-697-rhel-cmake branch December 28, 2020 17:17
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build broken for VxWorks on RHEL 7

2 participants