Skip to content

Commit

Permalink
Fix 'ADIAR_STATS' flag is not propagated to client compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Jun 2, 2023
1 parent f0c8436 commit bed52c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/adiar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ else()
endif()

if (ADIAR_STATS)
target_compile_definitions(${PROJECT_NAME} PRIVATE ADIAR_STATS)
target_compile_definitions(${PROJECT_NAME} PUBLIC ADIAR_STATS)
endif()

# ============================================================================ #
# Link dependencies
target_link_libraries(${PROJECT_NAME} tpie)
target_link_libraries(${PROJECT_NAME} Cnl)
target_link_libraries(${PROJECT_NAME} PUBLIC tpie)
target_link_libraries(${PROJECT_NAME} PUBLIC Cnl)

# ============================================================================ #
# Setup as library
Expand Down

0 comments on commit bed52c7

Please sign in to comment.