Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
2b2fe732
Commit
2b2fe732
authored
Dec 02, 2013
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check Intel and OS versions on MacOS X
parent
73db0b9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
CMakeLists.txt
CMakeLists.txt
+7
-2
No files found.
CMakeLists.txt
View file @
2b2fe732
...
...
@@ -155,8 +155,13 @@ endif(ScalFMM_USE_BLAS)
# C++ 2011
#ADD_DEFINITIONS(-std=c++11)
IF
(
CMAKE_CXX_COMPILER_ID STREQUAL
"Intel"
AND APPLE
)
SET
(
SCALFMM_LIBRARIES
"
${
SCALFMM_LIBRARIES
}
-stdlib=libc++"
)
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
-stdlib=libc++"
)
execute_process
(
COMMAND
${
CMAKE_CXX_COMPILER
}
-dumpversion OUTPUT_VARIABLE INTEL_VERSION
)
# MESSAGE( "CMAKE_SYSTEM: ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}")
# MESSAGE( "Intel: ${INTEL_VERSION}")
if
(
${
CMAKE_SYSTEM_VERSION
}
EQUAL 13 AND
${
INTEL_VERSION
}
GREATER 13.0
)
SET
(
SCALFMM_LIBRARIES
"
${
SCALFMM_LIBRARIES
}
-stdlib=libc++"
)
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
-stdlib=libc++"
)
endif
()
endif
()
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/Src/ScalFmmConfig.h.cmake
...
...
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