Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
3rd
jsoncpp2
Commits
29f98534
Commit
29f98534
authored
3 years ago
by
Francisco Javier Trujillo Mata
Browse files
Options
Download
Email Patches
Plain Diff
Fix cmake config for POSITION_INDEPENDENT_CODE enabling it just when BUILD_SHARED_LIBS is ON
parent
fa747b1a
master
archersim/1.9.5
hwcd/bugfix
1.9.5
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib_json/CMakeLists.txt
+2
-2
src/lib_json/CMakeLists.txt
with
2 additions
and
2 deletions
+2
-2
src/lib_json/CMakeLists.txt
View file @
29f98534
...
...
@@ -119,7 +119,7 @@ if(BUILD_SHARED_LIBS)
OUTPUT_NAME jsoncpp
VERSION
${
PROJECT_VERSION
}
SOVERSION
${
PROJECT_SOVERSION
}
POSITION_INDEPENDENT_CODE
ON
POSITION_INDEPENDENT_CODE
${
BUILD_SHARED_LIBS
}
)
# Set library's runtime search path on OSX
...
...
@@ -180,7 +180,7 @@ if(BUILD_OBJECT_LIBS)
OUTPUT_NAME jsoncpp
VERSION
${
PROJECT_VERSION
}
SOVERSION
${
PROJECT_SOVERSION
}
POSITION_INDEPENDENT_CODE
ON
POSITION_INDEPENDENT_CODE
${
BUILD_SHARED_LIBS
}
)
# Set library's runtime search path on OSX
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help