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
s1-tiling
S1TilingSupportApplications
Commits
74c61f07
Commit
74c61f07
authored
Sep 03, 2020
by
Luc Hermitte
Browse files
COMP: OpenMP will be automatically used through OTB
To use OpenMP, force `OTB_USE_OPENMP`
parent
6660beea
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
74c61f07
...
...
@@ -24,14 +24,6 @@ if (POLICY CMP0072)
endif
()
project
(
S1TilingSupportApplications
)
#set(S1TilingSupportApplications_LIBRARIES ${otb-module})
find_package
(
OpenMP
)
if
(
OPENMP_FOUND
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
${
OpenMP_C_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
OpenMP_CXX_FLAGS
}
"
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
${
OpenMP_EXE_LINKER_FLAGS
}
"
)
endif
()
### Informations for package/module
string
(
TIMESTAMP TODAY
"%d/%m/%Y"
)
# require CMake 2.8.11
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"2"
)
...
...
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