Skip to content

Commit

Permalink
CMakeLists.txt: add compilation flag COMPUTE_B_GRAD
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-lysogorskiy committed Sep 6, 2023
1 parent c344dbb commit a6a2b6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ add_library(pace STATIC ${PACE_EVALUATOR_SOURCES} ${PACE_SOURCES})
target_include_directories(pace PUBLIC ${PACE_INCLUDE_DIR} ${YAML_CPP_INCLUDE_DIR})
target_include_directories(pace PRIVATE ${CNPY_INCLUDE_PATH} ${WIGNER_INCLUDE_PATH})
target_compile_definitions(pace PUBLIC EXTRA_C_PROJECTIONS) # important for B-projections and extrapolation grade calculations
target_compile_definitions(pace PUBLIC COMPUTE_B_GRAD) # important for gradients of B-projections and ctilde functions
target_link_libraries(pace PRIVATE yaml-cpp-pace cnpy-static)

0 comments on commit a6a2b6f

Please sign in to comment.