commit | ef5c5474b29318a418c1628038865ee252e98b0e | [log] [tgz] |
---|---|---|
author | Andreas Schuh <andreas.schuh.84@gmail.com> | Sun Mar 30 15:34:13 2014 +0100 |
committer | Andreas Schuh <andreas.schuh.84@gmail.com> | Sun Mar 30 15:34:13 2014 +0100 |
tree | 93b442166fc42a8d1916ef0688abc6194c728ed3 | |
parent | 0890b699e97d7f8ffc898f3c5de6e2645be74e0c [diff] [blame] |
Set CPACK_PACKAGE_ARCHITECTURE to darwin on Mac OS.
diff --git a/CMakeLists.txt b/CMakeLists.txt index b11c697..17d38b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -392,6 +392,8 @@ set (CPACK_SYSTEM_NAME "win32") endif () set (CPACK_PACKAGE_ARCHITECTURE) + elseif (APPLE) + set (CPACK_PACKAGE_ARCHITECTURE darwin) else () string (TOLOWER "${CMAKE_SYSTEM_NAME}" CPACK_SYSTEM_NAME) if (CMAKE_CXX_FLAGS MATCHES "-m32")