mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
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.
12 lines
272 B
CMake
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)
|