projects
/
platform
/
upstream
/
gflags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0890b69
)
Set CPACK_PACKAGE_ARCHITECTURE to darwin on Mac OS.
author
Andreas Schuh
<andreas.schuh.84@gmail.com>
Sun, 30 Mar 2014 14:34:13 +0000
(15:34 +0100)
committer
Andreas Schuh
<andreas.schuh.84@gmail.com>
Sun, 30 Mar 2014 14:34:13 +0000
(15:34 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
b11c697
..
17d38b4
100644
(file)
--- 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")