Skip to content

Commit

Permalink
Fix for PR-210:
Browse files Browse the repository at this point in the history
- renamed CheckIncludeFiles to avoid recursive inclusion (and also
  renamed other Check* files)
- Added cmake subdirectory to CMAKE_MODULE_PATH
  • Loading branch information
9EOR9 committed Feb 21, 2023
1 parent 516dd92 commit 000415a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ IF(NOT MARIADB_UNIX_ADDR)
SET(MARIADB_UNIX_ADDR "/tmp/mysql.sock")
ENDIF()

SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CC_SOURCE_DIR}/cmake)

INCLUDE("${CC_SOURCE_DIR}/cmake/install.cmake")
IF(NOT PLUGINDIR)
SET(PLUGINDIR "${CMAKE_INSTALL_PREFIX}/${INSTALL_PLUGINDIR}")
Expand Down Expand Up @@ -217,11 +219,11 @@ IF(NOT WIN32)
ENDIF()

# check for various include files
INCLUDE(${CC_SOURCE_DIR}/cmake/CheckIncludeFiles.cmake)
INCLUDE(${CC_SOURCE_DIR}/cmake/check_include_files.cmake)
# check for various functions
INCLUDE(${CC_SOURCE_DIR}/cmake/CheckFunctions.cmake)
INCLUDE(${CC_SOURCE_DIR}/cmake/check_functions.cmake)
# check for various types
INCLUDE(${CC_SOURCE_DIR}/cmake/CheckTypes.cmake)
INCLUDE(${CC_SOURCE_DIR}/cmake/check_types.cmake)

IF(UNIX)
SEARCH_LIBRARY(LIBM floor m)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 000415a

Please sign in to comment.