Skip to content

[CMake] Fix SearchInstalledSoftware for old CMake versions.#5396

Merged
oshadura merged 1 commit intoroot-project:masterfrom
hageboeck:fixGtestOldCmake
Apr 20, 2020
Merged

[CMake] Fix SearchInstalledSoftware for old CMake versions.#5396
oshadura merged 1 commit intoroot-project:masterfrom
hageboeck:fixGtestOldCmake

Conversation

@hageboeck
Copy link
Copy Markdown
Member

@hageboeck hageboeck commented Apr 20, 2020

In cmake < 3.11, one cannot use target_include_directories for
imported targets. Therefore, a workaround explicitly setting the
properties was necessary.
The PR CI apparently didn't catch this, since for now it's only failing on ubuntu 18.04.

In cmake < 3.11, one cannot use `target_include_directories` for
imported targets. Therefore, a workaround explicitly setting the
properties was necessary.
The PR CI apparently didn't catch this.
@hageboeck hageboeck requested a review from oshadura April 20, 2020 09:09
@hageboeck hageboeck self-assigned this Apr 20, 2020
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos7-multicore/default, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1015/cxx17, windows10/cxx14
How to customize builds

@hageboeck
Copy link
Copy Markdown
Member Author

@phsft-bot build also on ROOT-ubuntu18.04/default

@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-ubuntu18.04/default, ROOT-debian10-i386/cxx14, ROOT-performance-centos7-multicore/default, ROOT-fedora29/python3, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1015/cxx17, windows10/cxx14
How to customize builds

@oshadura oshadura merged commit 62697b2 into root-project:master Apr 20, 2020
@hageboeck hageboeck deleted the fixGtestOldCmake branch April 20, 2020 12:00
mxxo added a commit to mxxo/root that referenced this pull request Mar 24, 2021
Using target_compile_options to set INTERFACE items on IMPORTED targets
is only supported in cmake 3.11 and up (see similar PR root-project#5396).
oshadura pushed a commit that referenced this pull request Mar 24, 2021
Using target_compile_options to set INTERFACE items on IMPORTED targets
is only supported in cmake 3.11 and up (see similar PR #5396).
nicknagi pushed a commit to nicknagi/root that referenced this pull request Mar 30, 2021
Using target_compile_options to set INTERFACE items on IMPORTED targets
is only supported in cmake 3.11 and up (see similar PR root-project#5396).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants