Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
0b305a14
Commit
0b305a14
authored
6 years ago
by
Andreas Traczyk
Committed by
Kateryna Kostiuk
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmake: seperate shared/static lib build conditions
Change-Id: I4809d03bbd7a5f3cbe1b1721fd2aa605f9424e31
parent
fcf13873
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-3
5 additions, 3 deletions
CMakeLists.txt
with
5 additions
and
3 deletions
CMakeLists.txt
+
5
−
3
View file @
0b305a14
...
...
@@ -747,7 +747,9 @@ ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
#For some reason, QSemaphore wont compile on Windows without QtConcurrent
if
(
${
ENABLE_STATIC
}
MATCHES true
)
target_link_libraries
(
ringclient_static Qt5::Concurrent
)
elseif
(
ENABLE_SHARED
)
endif
()
if
(
ENABLE_SHARED
)
target_link_libraries
(
ringclient Qt5::Concurrent
)
endif
()
ENDIF
()
...
...
@@ -762,7 +764,7 @@ IF (NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
ENDIF
()
IF
(
${
ENABLE_LIBWRAP
}
MATCHES true
)
IF
((
NOT
${
ring_BIN
}
MATCHES
"ring_BIN-NOTFOUND"
)
AND
(
${
ENABLE_S
TATIC
}
MATCHES false
)
)
IF
((
NOT
${
ring_BIN
}
MATCHES
"ring_BIN-NOTFOUND"
)
AND ENABLE_S
HARED
)
TARGET_LINK_LIBRARIES
(
ringclient
qtwrapper
${
ring_BIN
}
...
...
@@ -799,7 +801,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
ENDIF
()
ENDIF
()
if
(
${
ENABLE_S
TATIC
}
MATCHES false
)
if
(
ENABLE_S
HARED
)
SET_TARGET_PROPERTIES
(
ringclient
PROPERTIES VERSION
${
GENERIC_LIB_VERSION
}
SOVERSION
${
GENERIC_LIB_VERSION
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment