Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
61f2a834
Commit
61f2a834
authored
Apr 13, 2016
by
Rashad Kanavath
Browse files
PKG: JIRA 975. use Darwin prefix for OSX
parent
1281d38c
Changes
1
Hide whitespace changes
Inline
Side-by-side
SuperBuild/CMake/External_package.cmake
View file @
61f2a834
...
...
@@ -22,12 +22,19 @@ endif()
set
(
PACKAGE_NAME OTB
)
set
(
PACKAGE_LONG_NAME OrfeoToolBox
)
set
(
PACKAGE_ARCH Linux32
)
if
(
UNIX
)
if
(
APPLE
)
set
(
PACKAGE_PLATFORM_NAME
"Darwin"
)
else
()
set
(
PACKAGE_PLATFORM_NAME
"Linux"
)
endif
()
endif
()
set
(
PACKAGE_ARCH 32
)
if
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
set
(
PACKAGE_ARCH
Linux
64
)
set
(
PACKAGE_ARCH 64
)
endif
()
set
(
ARCHIVE_NAME
${
PACKAGE_NAME
}
-
${
PACKAGE_VERSION
}
-
${
PACKAGE_ARCH
}
)
set
(
ARCHIVE_NAME
${
PACKAGE_NAME
}
-
${
PACKAGE_VERSION
}
-
${
PACKAGE_
PLATFORM_NAME
}${
PACKAGE_
ARCH
}
)
set
(
MAKESELF_SCRIPT
${
CMAKE_BINARY_DIR
}
/PACKAGE-OTB/build/makeself.sh
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment