timescaledb/scripts/CMakeLists.txt
Mats Kindahl 71e8f13871 Add workflow and CMake support for formatting
Add a workflow to check that CMake files are correctly formatted as
well as a custom target to format CMake files in the repository. This
commit also runs the formatting on all CMake files in the repository.
2021-06-17 22:52:29 +02:00

12 lines
272 B
CMake

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(export_prefix_check.sh.in export_prefix_check.sh @ONLY)