Skip to content

Commit 147059b

Browse files
committed
Minor updates:
* Eigen example CMake target name changed from eigen to eigen_space_type. ** The name seems to collide with the eigen library target name since v3.4. ** Similarly updated the opencv example target name. * CMake package installation directory updated. * Repaired broken reference links in the README.md.
1 parent c5f7198 commit 147059b

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif()
1717
# ##############################################################################
1818
# PicoTree, examples, unit tests and documentation.
1919
# ##############################################################################
20-
set(PROJECT_PACKAGE_NAME "PicoTree")
20+
2121
add_subdirectory(src)
2222

2323
# Ignored when running cmake from setup.py using scikit-build.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ $ pip install ./pico_tree
121121
# References
122122

123123
* J. L. Bentley, [Multidimensional binary search trees used for associative searching](https://dl.acm.org/doi/pdf/10.1145/361002.361007), Communications of the ACM, vol. 18, no. 9, pp. 509–517, 1975.
124-
* S. Arya and D. M. Mount, [Algorithms for fast vector quantization](https://www.cs.umd.edu/~mount/Papers/DCC.pdf), In IEEE Data Compression Conference, pp. 381–390, March 1993.
125-
* S. Maneewongvatana and D. M. Mount, [It's okay to be skinny, if your friends are fat](http://www.cs.umd.edu/~mount/Papers/cgc99-smpack.pdf), 4th Annual CGC Workshop on Computational Geometry, 1999.
124+
* S. Arya and D. M. Mount, [Algorithms for fast vector quantization](https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=5690df491a0f5efe38e1640f25440006de479008), In IEEE Data Compression Conference, pp. 381–390, March 1993.
125+
* S. Maneewongvatana and D. M. Mount, [It's okay to be skinny, if your friends are fat](https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=97f9ac624385c6dbcb28031e53cc08e02331c778), 4th Annual CGC Workshop on Computational Geometry, 1999.
126126
* S. Arya and H. Y. Fu, [Expected-case complexity of approximate nearest neighbor searching](https://www.cse.ust.hk/faculty/arya/pub/exp.pdf), InProceedings of the 11th ACM-SIAM Symposium on Discrete Algorithms, 2000.
127127
* N. Sample, M. Haines, M. Arnold and T. Purcell, [Optimizing Search Strategies in k-d Trees](http://infolab.stanford.edu/~nsample/pubs/samplehaines.pdf), In: 5th WSES/IEEE World Multiconference on Circuits, Systems, Communications & Computers (CSCC 2001), July 2001.
128128
* A. Yershova and S. M. LaValle, [Improving Motion-Planning Algorithms by Efficient Nearest-Neighbor Searching](http://msl.cs.uiuc.edu/~lavalle/papers/YerLav06.pdf), In IEEE Transactions on Robotics, vol. 23, no. 1, pp. 151-157, Feb. 2007.

examples/eigen/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
add_executable(eigen eigen.cpp)
2-
set_default_target_properties(eigen)
3-
target_link_libraries(eigen PUBLIC pico_toolshed Eigen3::Eigen)
1+
add_executable(eigen_space_type eigen_space_type.cpp)
2+
set_default_target_properties(eigen_space_type)
3+
target_link_libraries(eigen_space_type PUBLIC pico_toolshed Eigen3::Eigen)
File renamed without changes.

examples/opencv/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
add_executable(opencv opencv.cpp)
2-
set_default_target_properties(opencv)
3-
target_link_libraries(opencv PUBLIC pico_toolshed ${OpenCV_LIBS})
1+
add_executable(opencv_space_type opencv_space_type.cpp)
2+
set_default_target_properties(opencv_space_type)
3+
target_link_libraries(opencv_space_type PUBLIC pico_toolshed ${OpenCV_LIBS})
File renamed without changes.

src/pico_tree/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include(GNUInstallDirs)
44
# PicoTree library.
55
################################################################################
66

7+
set(PROJECT_PACKAGE_NAME "PicoTree")
78
add_library(${PROJECT_NAME} INTERFACE)
89
add_library(${PROJECT_PACKAGE_NAME}::${PROJECT_PACKAGE_NAME} ALIAS ${PROJECT_NAME})
910
target_include_directories(${PROJECT_NAME} INTERFACE
@@ -48,9 +49,8 @@ if(NOT SKBUILD)
4849
FILE "${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_PACKAGE_TARGETS_FILE_NAME}"
4950
NAMESPACE ${PROJECT_PACKAGE_NAME}::)
5051

51-
# The config mode search procedure uses this path for both Unix and Windows.
5252
set(PACKAGE_INSTALL_DESTINATION
53-
${PROJECT_PACKAGE_NAME}/share/cmake/${PROJECT_PACKAGE_NAME})
53+
${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_PACKAGE_NAME}/cmake)
5454

5555
include(CMakePackageConfigHelpers)
5656
write_basic_package_version_file(

0 commit comments

Comments
 (0)