-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake build is missing key features to be properly usable via FetchContent #550
Comments
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Jul 17, 2021
* Prefix cache variables with OSI_ identifier * Use option() to set cache variables Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Jul 20, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Jul 20, 2021
* Fix the cache variables * Copy the headers to the appropriate location in the PROJECT_BINARY_DIR * Rewrite the package config file template * Create proper config, version, and target files using CMakePackageConfigHelpers * Export and install namespaced targets Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Jul 20, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Jul 20, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Jul 20, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
6 tasks
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Sep 8, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Sep 8, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Sep 8, 2021
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
globberwops
added a commit
to globberwops/open-simulation-interface
that referenced
this issue
Sep 8, 2021
…evel Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
* Fix the cache variables * Copy the headers to the appropriate location in the PROJECT_BINARY_DIR * Rewrite the package config file template * Create proper config, version, and target files using CMakePackageConfigHelpers * Export and install namespaced targets Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
pushed a commit
to globberwops/open-simulation-interface
that referenced
this issue
May 23, 2022
…evel Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
pmai
added a commit
that referenced
this issue
May 23, 2022
…ey-features-to-be-properly-usable-via-fetchcontent #550 cmake build is missing key features to be properly usable via fetchcontent
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
* Fix the cache variables * Copy the headers to the appropriate location in the PROJECT_BINARY_DIR * Rewrite the package config file template * Create proper config, version, and target files using CMakePackageConfigHelpers * Export and install namespaced targets Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
adrianschultz
pushed a commit
to adrianschultz/open-simulation-interface
that referenced
this issue
May 25, 2022
…evel Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The CMake build is missing key features to be properly usable via CMake's FetchContent module.
Describe how to reproduce the bug
Steps to reproduce the behavior:
a. pollute your upstream project's cache with non-prefixed variables
INSTALL_LIB_DIR
,INSTALL_INCLUDE_DIR
, andINSTALL_CMAKE_DIR
b. not provide namespaced alias targets e.g.
open-simulation-interface::static
c. not install the export set with a namespace
d. pollute the downstream project's build with an unnecessary, redundant warning:
open-simulation-interface/CMakeLists.txt
Line 186 in ab60959
Describe the expected behavior
The text was updated successfully, but these errors were encountered: