diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-21 00:28:30 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-21 00:28:30 +0200 |
commit | 1bc2fbef11e8920fd6dbd228f6fe2fd0e111f40f (patch) | |
tree | eaf5b05a06ef67474571f5fb6ea55374eff90e2f | |
parent | a296ec914b1857932ebe0b6bf08bda3e861ddba8 (diff) | |
download | MultiMC-1bc2fbef11e8920fd6dbd228f6fe2fd0e111f40f.tar MultiMC-1bc2fbef11e8920fd6dbd228f6fe2fd0e111f40f.tar.gz MultiMC-1bc2fbef11e8920fd6dbd228f6fe2fd0e111f40f.tar.lz MultiMC-1bc2fbef11e8920fd6dbd228f6fe2fd0e111f40f.tar.xz MultiMC-1bc2fbef11e8920fd6dbd228f6fe2fd0e111f40f.zip |
GH-794 add libstdc++ to build on linux. hopefully?
-rw-r--r-- | application/install_prereqs.cmake.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/application/install_prereqs.cmake.in b/application/install_prereqs.cmake.in index b8fa3177..db964c90 100644 --- a/application/install_prereqs.cmake.in +++ b/application/install_prereqs.cmake.in @@ -11,6 +11,9 @@ function(gp_resolved_file_type_override resolved_file type_var) elseif(resolved_file MATCHES "^/usr/lib(.+)?/libicu") message("resolving ${resolved_file} as other") set(${type_var} other PARENT_SCOPE) + elseif((resolved_file MATCHES "^/usr/lib(.+)?/libstdc\\+\\+") AND (UNIX AND NOT APPLE)) + message("resolving ${resolved_file} as other") + set(${type_var} other PARENT_SCOPE) endif() endfunction() |