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
LARN
PRRT
Commits
5b8d31ea
Commit
5b8d31ea
authored
Oct 25, 2016
by
Andreas Schmidt
Browse files
Specify C compilers to use gcc 4.9.
parent
d332a6c8
Pipeline
#642
canceled with stage
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5b8d31ea
...
@@ -9,6 +9,9 @@ set(CMAKE_CXX_FLAGS "-fstack-protector -fstack-protector-all -Wall -pedantic " )
...
@@ -9,6 +9,9 @@ set(CMAKE_CXX_FLAGS "-fstack-protector -fstack-protector-all -Wall -pedantic " )
set
(
CMAKE_CXX_FLAGS_DEBUG
"-O2 -Wall -ggdb"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-O2 -Wall -ggdb"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-Os -Wall"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-Os -Wall"
)
set
(
CMAKE_C_COMPILER /usr/bin/gcc-4.9
)
set
(
CMAKE_CXX_COMPILER /usr/bin/g++-4.9
)
enable_testing
()
enable_testing
()
find_package
(
Threads
)
find_package
(
Threads
)
...
...
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