26 lines · 904 B · Text
RawDownload
This file is part of MXE. See LICENSE.md for licensing information. Contains ad hoc patches for cross building. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001From: Timothy Gu <timothygu99@gmail.com>Date: Sun, 19 Oct 2014 12:09:55 -0400Subject: [PATCH 1/1] Don't export package Signed-off-by: Timothy Gu <timothygu99@gmail.com> diff --git a/CMakeLists.txt b/CMakeLists.txtindex 1111111..2222222 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -444,7 +444,9 @@ install(TARGETS armadillo EXPORT ArmadilloLibraryDepends    # Export the package for use from the build-tree # (this registers the build-tree with a global CMake-registry)-export(PACKAGE armadillo)+if(CMAKE_VERSION VERSION_GREATER "2.7" AND NOT (MINGW AND CMAKE_TOOLCHAIN_FILE))+  export(PACKAGE armadillo)+endif()  ## LOCAL FILES # Create ArmadilloConfig.cmake file for the use from the build tree

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t