We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bda0f55 + b3b610c commit 56bcbb1Copy full SHA for 56bcbb1
CMakeLists.txt
@@ -218,5 +218,11 @@ else()
218
# NOTE: This config will not be relocatable!
219
export(TARGETS ${SPLIB} NAMESPACE ${SPLIB}::
220
FILE "${CMAKE_CURRENT_BINARY_DIR}/${SPLIB}Targets.cmake")
221
- export(PACKAGE ${SPLIB})
+ # see https://cmake.org/cmake/help/latest/policy/CMP0090.html
222
+ # since v3.15, this command is a no-op. prior, it populates
223
+ # the user package directory.
224
+ # `spiner` is commonly used "in-tree" downstream, so this
225
+ # *may* confuse downstream builds that still search the
226
+ # `~/.cmake` when doing `find_package()`
227
+ # export(PACKAGE ${SPLIB})
228
endif()
0 commit comments