Skip to content

Commit

Permalink
Merge pull request #18594 from GordonSmith/HPCC-31641-LIBMYSQL_OSX
Browse files Browse the repository at this point in the history
HPCC-31641 Remove old cmake "FindXXX" modules

Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Apr 30, 2024
2 parents d9e8531 + 3707ce0 commit 54f70aa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmake_modules/commonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -892,12 +892,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
endif(USE_AZURE)

if(USE_MYSQL_REPOSITORY)
find_package(MYSQL)
if (MYSQL_FOUND)
add_definitions (-D_USE_MYSQL_REPOSITORY)
else()
message(FATAL_ERROR "MYSQL requested but package not found")
endif()
add_definitions (-D_USE_MYSQL_REPOSITORY)
else()
add_definitions (-D_NO_MYSQL_REPOSITORY)
endif(USE_MYSQL_REPOSITORY)
Expand Down

0 comments on commit 54f70aa

Please sign in to comment.