blob: 2594a56b36a528b34c5d6b51592e3c2dba5a71b9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -1522,7 +1522,6 @@
# CMAKE_CXX_FLAGS in ways that break feature checks. Since we already know
# `fmt` is compatible with a superset of the compilers that PyTorch is, it
# shouldn't be too bad to just disable the checks.
-set_target_properties(fmt-header-only PROPERTIES INTERFACE_COMPILE_FEATURES "")
list(APPEND Caffe2_DEPENDENCY_LIBS fmt)
set(BUILD_SHARED_LIBS ${TEMP_BUILD_SHARED_LIBS} CACHE BOOL "Build shared libs" FORCE)
|