Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
114419bd
Commit
114419bd
authored
Aug 22, 2017
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX
#413
] fixed omp pragma warning
parent
2649a2d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/cmake/OpenWalnut.cmake
tools/cmake/OpenWalnut.cmake
+2
-2
No files found.
tools/cmake/OpenWalnut.cmake
View file @
114419bd
...
...
@@ -236,9 +236,9 @@ SET( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${OW_ARCHIVE_DIR} )
FUNCTION
(
BUILD_SYSTEM_COMPILER
)
# Unfortunately libstdc++'s header files don't work with mingw in ansi mode (basically libstdc++'s fault)
IF
(
CMAKE_HOST_SYSTEM MATCHES
"Windows"
)
SET
(
CMAKE_CXX_FLAGS
"-frtti -pedantic -std=c++11 -Wall -Wno-long-long -Wextra "
CACHE STRING
""
FORCE
)
SET
(
CMAKE_CXX_FLAGS
"-frtti -
fopenmp -
pedantic -std=c++11 -Wall -Wno-long-long -Wextra "
CACHE STRING
""
FORCE
)
ELSE
()
SET
(
CMAKE_CXX_FLAGS
"-frtti -pedantic -std=c++11 -Wall -Wno-long-long -Wextra "
CACHE STRING
""
FORCE
)
SET
(
CMAKE_CXX_FLAGS
"-frtti -
fopenmp -
pedantic -std=c++11 -Wall -Wno-long-long -Wextra "
CACHE STRING
""
FORCE
)
ENDIF
()
# Darwin's ld isn't GNU and doesn't like the following
...
...
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