diff options
Diffstat (limited to 'cmake/modules/FindNFS.cmake')
-rw-r--r-- | cmake/modules/FindNFS.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindNFS.cmake b/cmake/modules/FindNFS.cmake index 8ea9681c23..f1528a188b 100644 --- a/cmake/modules/FindNFS.cmake +++ b/cmake/modules/FindNFS.cmake @@ -155,6 +155,7 @@ if(NOT TARGET libnfs::nfs) if(_multiconfig_generator) if(NOT TARGET libnfs) buildlibnfs() + set_target_properties(libnfs PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends libnfs) endif() |