diff options
Diffstat (limited to 'src/pkg')
-rw-r--r-- | src/pkg/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/CMakeLists.txt b/src/pkg/CMakeLists.txt index a5a0ffe5827..0e4b6dbcce7 100644 --- a/src/pkg/CMakeLists.txt +++ b/src/pkg/CMakeLists.txt @@ -11,6 +11,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +if(CMAKE_CROSSCOMPILING) + return() +endif() + get_cmake_property(VPP_COMPONENTS COMPONENTS) string(REPLACE ";" " " VPP_COMPONENTS "${VPP_COMPONENTS}") |