mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
24 lines
746 B
CMake
24 lines
746 B
CMake
if (APPLE)
|
|
# We strictly need gobjdump on macs, because objdump is usually
|
|
# llvm's incompatible objdump
|
|
find_program(OBJDUMP NAMES gobjdump PATHS /usr/local/bin /opt/local/bin)
|
|
else ()
|
|
find_program(OBJDUMP NAMES gobjdump objdump)
|
|
endif (APPLE)
|
|
|
|
if (OBJDUMP)
|
|
message(STATUS "Using objdump ${OBJDUMP}")
|
|
else ()
|
|
message(STATUS "Install objdump or gobjdump to be able to run pgindent")
|
|
endif (OBJDUMP)
|
|
|
|
find_program(NM NAMES nm PATHS /usr/bin /usr/local/bin /opt/local/bin)
|
|
if(NM)
|
|
message(STATUS "Using nm ${NM}")
|
|
else ()
|
|
message(STATUS "Install nm to be able to run export checks")
|
|
endif (NM)
|
|
|
|
configure_file(generate_typedefs.sh.in generate_typedefs.sh @ONLY)
|
|
configure_file(export_prefix_check.sh.in export_prefix_check.sh @ONLY)
|