Skip to content

Commit

Permalink
HYDRA-700 : Avoid Boost autolinking libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
debloip-adsk committed Dec 22, 2023
1 parent bb8c8fa commit 7f159ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/compiler_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ function(mayaHydra_compile_config TARGET)
)
endif()

# Remove annoying TBB warnings.
# Common definitions
target_compile_definitions(${TARGET}
PRIVATE
TBB_SUPPRESS_DEPRECATED_MESSAGES
TBB_SUPPRESS_DEPRECATED_MESSAGES # Remove TBB deprecation warnings
BOOST_ALL_NO_LIB # Avoid Boost autolinking libraries
)
endfunction()

0 comments on commit 7f159ab

Please sign in to comment.