Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
IP
elsa
Commits
06d342e2
Commit
06d342e2
authored
Oct 11, 2019
by
Tobias Lasser
Committed by
David Frank
Oct 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add -fPIC to the elsa libraries, fixing
#10
and closing
!7
parent
c23e2f58
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
2 deletions
+20
-2
elsa/core/CMakeLists.txt
elsa/core/CMakeLists.txt
+2
-1
elsa/functionals/CMakeLists.txt
elsa/functionals/CMakeLists.txt
+2
-0
elsa/generators/CMakeLists.txt
elsa/generators/CMakeLists.txt
+2
-0
elsa/io/CMakeLists.txt
elsa/io/CMakeLists.txt
+2
-0
elsa/logging/CMakeLists.txt
elsa/logging/CMakeLists.txt
+2
-0
elsa/operators/CMakeLists.txt
elsa/operators/CMakeLists.txt
+2
-0
elsa/problems/CMakeLists.txt
elsa/problems/CMakeLists.txt
+2
-0
elsa/projectors/CMakeLists.txt
elsa/projectors/CMakeLists.txt
+2
-1
elsa/projectors_cuda/CMakeLists.txt
elsa/projectors_cuda/CMakeLists.txt
+2
-0
elsa/solvers/CMakeLists.txt
elsa/solvers/CMakeLists.txt
+2
-0
No files found.
elsa/core/CMakeLists.txt
View file @
06d342e2
...
...
@@ -41,7 +41,8 @@ target_link_libraries(${ELSA_MODULE_TARGET_NAME} PUBLIC Eigen3::Eigen)
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
if
(
ELSA_TESTING
)
...
...
elsa/functionals/CMakeLists.txt
View file @
06d342e2
...
...
@@ -52,6 +52,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/generators/CMakeLists.txt
View file @
06d342e2
...
...
@@ -34,6 +34,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/io/CMakeLists.txt
View file @
06d342e2
...
...
@@ -34,6 +34,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/logging/CMakeLists.txt
View file @
06d342e2
...
...
@@ -36,6 +36,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/operators/CMakeLists.txt
View file @
06d342e2
...
...
@@ -41,6 +41,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/problems/CMakeLists.txt
View file @
06d342e2
...
...
@@ -36,6 +36,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/projectors/CMakeLists.txt
View file @
06d342e2
...
...
@@ -42,7 +42,6 @@ if(OpenMP_CXX_FOUND)
endif
()
target_include_directories
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC
$<INSTALL_INTERFACE:include/
${
ELSA_MODULE_NAME
}
>
...
...
@@ -52,6 +51,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/projectors_cuda/CMakeLists.txt
View file @
06d342e2
...
...
@@ -45,6 +45,8 @@ if (CMAKE_CUDA_COMPILER)
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
elsa/solvers/CMakeLists.txt
View file @
06d342e2
...
...
@@ -32,6 +32,8 @@ target_include_directories(${ELSA_MODULE_TARGET_NAME}
# require C++17
target_compile_features
(
${
ELSA_MODULE_TARGET_NAME
}
PUBLIC cxx_std_17
)
# set -fPIC
set_target_properties
(
${
ELSA_MODULE_TARGET_NAME
}
PROPERTIES POSITION_INDEPENDENT_CODE ON
)
# build the tests (if enabled)
...
...
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