build: cmake cross-compilation fixes
Type: fix Change-Id: I40337c208375b74b4dc3c35102c5e66a6e4568e8 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
committed by
Matthew Smith
parent
ae45d47899
commit
5857daf432
@@ -21,7 +21,7 @@ install(
|
||||
VPPConfig.cmake
|
||||
|
||||
DESTINATION
|
||||
lib/cmake/vpp
|
||||
${VPP_LIBRARY_DIR}/cmake/vpp
|
||||
|
||||
COMPONENT vpp-dev
|
||||
)
|
||||
|
||||
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user