Skip to content

Commit a6a2b6f

Browse files
CMakeLists.txt: add compilation flag COMPUTE_B_GRAD
1 parent c344dbb commit a6a2b6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ add_library(pace STATIC ${PACE_EVALUATOR_SOURCES} ${PACE_SOURCES})
4747
target_include_directories(pace PUBLIC ${PACE_INCLUDE_DIR} ${YAML_CPP_INCLUDE_DIR})
4848
target_include_directories(pace PRIVATE ${CNPY_INCLUDE_PATH} ${WIGNER_INCLUDE_PATH})
4949
target_compile_definitions(pace PUBLIC EXTRA_C_PROJECTIONS) # important for B-projections and extrapolation grade calculations
50+
target_compile_definitions(pace PUBLIC COMPUTE_B_GRAD) # important for gradients of B-projections and ctilde functions
5051
target_link_libraries(pace PRIVATE yaml-cpp-pace cnpy-static)

0 commit comments

Comments
 (0)