Skip to content

Commit

Permalink
Fix discrepancy with find_package_handle_standard_args and name of th…
Browse files Browse the repository at this point in the history
…e calling package (CMake 3.17)
  • Loading branch information
oshadura committed Mar 31, 2020
1 parent 758e2d7 commit 5934c8d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmake/modules/FindFastCGI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mark_as_advanced(FASTCGI_INCLUDE_DIR FASTCGI_LIBRARY)

include(FindPackageHandleStandardArgs)

find_package_handle_standard_args(FASTCGI
find_package_handle_standard_args(FastCGI
REQUIRED_VARS FASTCGI_LIBRARY FASTCGI_INCLUDE_DIR)

if(FASTCGI_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/FindGraphviz.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set(GRAPHVIZ_LIBRARIES ${GRAPHVIZ_gvc_LIBRARY} ${GRAPHVIZ_graph_LIBRARY} ${GRAPH

# handle the QUIETLY and REQUIRED arguments and set GRAPHVIZ_FOUND to TRUE if all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GRAPHVIZ DEFAULT_MSG GRAPHVIZ_INCLUDE_DIR
find_package_handle_standard_args(Graphviz DEFAULT_MSG GRAPHVIZ_INCLUDE_DIR
GRAPHVIZ_cdt_LIBRARY
GRAPHVIZ_gvc_LIBRARY
GRAPHVIZ_graph_LIBRARY
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/FindMySQL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ endif()
# handle the QUIETLY and REQUIRED arguments and set DCAP_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MYSQL DEFAULT_MSG MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
find_package_handle_standard_args(MySQL DEFAULT_MSG MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)

mark_as_advanced(
MYSQL_CONFIG_EXECUTABLE
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/FindNumPy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ string(REGEX MATCH "[0-9]*" NUMPY_VERSION_PATCH ${NUMPY_VERSION_PATCH})
math(EXPR NUMPY_VERSION_DECIMAL
"(${NUMPY_VERSION_MAJOR} * 10000) + (${NUMPY_VERSION_MINOR} * 100) + ${NUMPY_VERSION_PATCH}")

find_package_handle_standard_args(NUMPY
find_package_handle_standard_args(NumPy
REQUIRED_VARS NUMPY_INCLUDE_DIR
VERSION_VAR NUMPY_VERSION)
mark_as_advanced(NUMPY_INCLUDE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/Findgl2ps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ endif()
# handle the QUIETLY and REQUIRED arguments and set GL2PS_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GL2PS DEFAULT_MSG GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(gl2ps DEFAULT_MSG GL2PS_LIBRARY GL2PS_INCLUDE_DIR)

mark_as_advanced(GL2PS_FOUND GL2PS_INCLUDE_DIR GL2PS_LIBRARY)
2 changes: 1 addition & 1 deletion cmake/modules/Findlibuuid.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ if(NOT TARGET uuid::uuid)
set_property(TARGET uuid::uuid PROPERTY INTERFACE_LINK_LIBRARIES "${UUID_LIBRARIES}")
endif()

find_package_handle_standard_args(uuid DEFAULT_MSG UUID_INCLUDE_DIR)
find_package_handle_standard_args(libuuid DEFAULT_MSG UUID_INCLUDE_DIR)
mark_as_advanced(UUID_INCLUDE_DIR UUID_LIBRARY)

0 comments on commit 5934c8d

Please sign in to comment.