Skip to content

Commit fc74c5f

Browse files
committed
[CMake] Reduce unnecessary dependencies between libs
1 parent 0bc73dd commit fc74c5f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ include(CheckLinkerFlag)
1111
# TODO(ae): use target_compile_features(cxx_std_20)
1212
set(CMAKE_CXX_STANDARD 20)
1313
set(CMAKE_CXX_STANDARD_REQUIRED ON)
14+
set(CMAKE_OPTIMIZE_DEPENDENCIES ON)
15+
set(CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY ON)
1416

1517
option(TPDE_INCLUDE_TESTS "enable test" ON)
1618
option(TPDE_ENABLE_ENCODEGEN "enable tpde-encodegen tool (needs LLVM)" ON)

0 commit comments

Comments
 (0)