Skip to content

Commit

Permalink
Add CMake hint
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Jul 2, 2016
1 parent e6b62b8 commit 2374cb1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,13 @@ endif()
########################################################################

configure_file(
${PROJECT_SOURCE_DIR}/cmake/Modules/VolkConfigVersion.cmake.in
${PROJECT_BINARY_DIR}/cmake/Modules/VolkConfigVersion.cmake
${CMAKE_SOURCE_DIR}/cmake/Modules/VolkGnsssdrConfig.cmake.in
${CMAKE_BINARY_DIR}/cmake/Modules/VolkGnsssdrConfig.cmake
@ONLY)

configure_file(
${PROJECT_SOURCE_DIR}/cmake/Modules/VolkGnsssdrConfigVersion.cmake.in
${PROJECT_BINARY_DIR}/cmake/Modules/VolkGnsssdrConfigVersion.cmake
@ONLY)


Expand All @@ -244,8 +249,8 @@ endif(NOT CMAKE_MODULES_DIR)

install(
FILES
${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/VolkConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/Modules/VolkConfigVersion.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/Modules/VolkGnsssdrConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/Modules/VolkGnsssdrConfigVersion.cmake
DESTINATION ${CMAKE_MODULES_DIR}/volk_gnsssdr
COMPONENT "volk_gnsssdr_devel"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FIND_PATH(
PATHS /usr/local/include
/usr/include
/opt/local/include
"@CMAKE_INSTALL_PREFIX@/include"
)

FIND_LIBRARY(
Expand All @@ -21,6 +22,7 @@ FIND_LIBRARY(
/usr/lib
/usr/lib64
/opt/local/lib
"@CMAKE_INSTALL_PREFIX@/lib"
)

INCLUDE(FindPackageHandleStandardArgs)
Expand Down

0 comments on commit 2374cb1

Please sign in to comment.