Skip to content

Commit

Permalink
comment for boost header only
Browse files Browse the repository at this point in the history
  • Loading branch information
liss-h committed Jul 29, 2024
1 parent 841b2b0 commit bde4d0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ if (PROJECT_IS_TOP_LEVEL)
enable_testing()
add_subdirectory(tests)
else ()
# in top-level builds without tests we only need boost headers but not libraries
# so avoid building the unecessesarily
set(CONAN_INSTALL_ARGS "${CONAN_INSTALL_ARGS};-o=boost/*:header_only=True")
endif ()

Expand Down

0 comments on commit bde4d0f

Please sign in to comment.