Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
c833e35f
Commit
c833e35f
authored
Jul 04, 2014
by
Dave Moxey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few tweaks for OS X
parent
c34564f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
cmake/ThirdPartyScotch.cmake
cmake/ThirdPartyScotch.cmake
+10
-4
No files found.
cmake/ThirdPartyScotch.cmake
View file @
c833e35f
...
...
@@ -16,10 +16,16 @@ IF( NEKTAR_USE_SCOTCH )
SET
(
SCOTCH_SRC
${
TPSRC
}
/src/scotch-6.0.0/src
)
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
)
SET
(
SCOTCH_MAKE Makefile.inc.x86-64_pc_linux2
)
IF
(
APPLE
)
SET
(
SCOTCH_MAKE Makefile.inc.i686_mac_darwin8
)
SET
(
SCOTCH_LDFLAGS
""
)
ELSE
()
SET
(
SCOTCH_MAKE Makefile.inc.i686_pc_linux2
)
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
)
SET
(
SCOTCH_MAKE Makefile.inc.x86-64_pc_linux2
)
ELSE
()
SET
(
SCOTCH_MAKE Makefile.inc.i686_pc_linux2
)
ENDIF
()
SET
(
SCOTCH_LDFLAGS
"-lz -lm -lrt -lpthread"
)
ENDIF
()
INCLUDE
(
ExternalProject
)
...
...
@@ -34,7 +40,7 @@ IF( NEKTAR_USE_SCOTCH )
${
SCOTCH_SRC
}
/Make.inc/
${
SCOTCH_MAKE
}
${
SCOTCH_SRC
}
/Makefile.inc
BUILD_COMMAND $
(
MAKE
)
-C
${
TPSRC
}
/src/scotch-6.0.0/src
"LDFLAGS=
-lz -lm -lrt -lpthread
"
"LDFLAGS=
${
SCOTCH_LDFLAGS
}
"
"CLIBFLAGS=-fPIC"
scotch
INSTALL_COMMAND $
(
MAKE
)
-C
${
TPSRC
}
/src/scotch-6.0.0/src
prefix=
${
TPSRC
}
/dist install
...
...
Write
Preview
Markdown
is supported
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