Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
SuperElastix
Commits
97b8a39d
Commit
97b8a39d
authored
Nov 22, 2016
by
Floris Berendsen
Browse files
COMP: gcc specific vnl flags
parent
bc01fafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Applications/CMakeLists.txt
View file @
97b8a39d
...
...
@@ -25,6 +25,17 @@ if( NOT CMAKE_PROJECT_NAME STREQUAL "SuperElastix" )
set
(
CMAKE_CXX_STANDARD 11
)
# -----------------------------------------------------------------
# Compiler-dependent settings
# GCC
if
(
${
CMAKE_CXX_COMPILER_ID
}
STREQUAL GNU
)
add_definitions
(
-DVCL_CAN_STATIC_CONST_INIT_FLOAT=0
-DVCL_CAN_STATIC_CONST_INIT_INT=0
)
endif
()
find_package
(
SuperElastix
)
include
(
${
SUPERELASTIX_USE_FILE
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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