forked from eclipse-iceoryx/iceoryx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iox-eclipse-iceoryx#1311 Fix warning when building with CMake 3.23.
When building iceoryx_posh with CMake 3.23, it throws a warning: Ignoring empty string ("") provided on the command line. This happens because when CMAKE_TOOLCHAIN_FILE is not defined, TOOLCHAIN_FILE is also not defined and thus is empty. Workaround this new behavior by setting a variable that contains a bunch of things, and may also *optionally* include the define for the TOOLCHAIN file, which removes the warning. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
a8d43b4
commit cdf6be6
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters