Skip to content

Commit dc32026

Browse files
committed
cmake: Fix clang-tidy CI task
1 parent a7cc7d8 commit dc32026

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ foreach(config IN LISTS CMAKE_BUILD_TYPE CMAKE_CONFIGURATION_TYPES)
6767
string(TOUPPER "${config}" config)
6868
set(CMAKE_C_FLAGS_${config} "${CMAKE_C_FLAGS_RELWITHDEBINFO}")
6969
endforeach()
70+
set(CMAKE_EXPORT_COMPILE_COMMANDS OFF)
7071
add_subdirectory(secp256k1)
71-
set_target_properties(secp256k1 PROPERTIES EXPORT_COMPILE_COMMANDS OFF)
72+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7273
string(APPEND CMAKE_C_COMPILE_OBJECT " ${APPEND_CPPFLAGS} ${APPEND_CFLAGS}")
7374

7475
# Stable, backwards-compatible consensus functionality.

0 commit comments

Comments
 (0)