summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuh <andreas.schuh.84@gmail.com>2014-03-30 15:34:13 +0100
committerAndreas Schuh <andreas.schuh.84@gmail.com>2014-03-30 15:34:13 +0100
commitef5c5474b29318a418c1628038865ee252e98b0e (patch)
tree93b442166fc42a8d1916ef0688abc6194c728ed3
parent0890b699e97d7f8ffc898f3c5de6e2645be74e0c (diff)
downloadgflags-ef5c5474b29318a418c1628038865ee252e98b0e.tar.gz
gflags-ef5c5474b29318a418c1628038865ee252e98b0e.tar.bz2
gflags-ef5c5474b29318a418c1628038865ee252e98b0e.zip
Set CPACK_PACKAGE_ARCHITECTURE to darwin on Mac OS.
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b11c697..17d38b4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -392,6 +392,8 @@ if (BUILD_PACKAGING)
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")