Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
8fca7d72
Unverified
Commit
8fca7d72
authored
Apr 08, 2017
by
Pedro Luis Castedo Cepeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Cygwin installation
Signed-off-by:
Pedro Luis Castedo Cepeda
<
pedroluis.castedo@upm.es
>
parent
eabca5bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
CMakeLists.txt
CMakeLists.txt
+1
-1
CMakeLists.txt
src/CMakeLists.txt
+8
-7
No files found.
CMakeLists.txt
View file @
8fca7d72
...
...
@@ -16,7 +16,7 @@
# Note: on OS X you should install XCode and the associated command-line tools
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
.4
)
PROJECT
(
"paho"
C
)
MESSAGE
(
STATUS
"CMake version: "
${
CMAKE_VERSION
}
)
MESSAGE
(
STATUS
"CMake system name: "
${
CMAKE_SYSTEM_NAME
}
)
...
...
src/CMakeLists.txt
View file @
8fca7d72
...
...
@@ -81,7 +81,8 @@ SET_TARGET_PROPERTIES(
INSTALL
(
TARGETS paho-mqtt3c paho-mqtt3a
ARCHIVE DESTINATION lib
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
)
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
RUNTIME DESTINATION bin
)
INSTALL
(
TARGETS MQTTVersion
RUNTIME DESTINATION bin
)
...
...
@@ -147,10 +148,12 @@ IF (PAHO_WITH_SSL)
COMPILE_DEFINITIONS
"OPENSSL=1"
)
INSTALL
(
TARGETS paho-mqtt3cs
ARCHIVE DESTINATION lib
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
)
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
RUNTIME DESTINATION bin
)
INSTALL
(
TARGETS paho-mqtt3as
ARCHIVE DESTINATION lib
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
)
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
RUNTIME DESTINATION bin
)
IF
(
PAHO_BUILD_STATIC
)
ADD_LIBRARY
(
paho-mqtt3cs-static STATIC $<TARGET_OBJECTS:common_ssl_obj> MQTTClient.c SSLSocket.c
)
...
...
@@ -160,10 +163,8 @@ IF (PAHO_WITH_SSL)
TARGET_LINK_LIBRARIES
(
paho-mqtt3as-static
${
OPENSSL_LIBRARIES
}
${
LIBS_SYSTEM
}
)
INSTALL
(
TARGETS paho-mqtt3cs-static
ARCHIVE DESTINATION lib
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
)
ARCHIVE DESTINATION lib
)
INSTALL
(
TARGETS paho-mqtt3as-static
ARCHIVE DESTINATION lib
LIBRARY DESTINATION
${
PAHO_LIBRARY_DIR_NAME
}
)
ARCHIVE DESTINATION lib
)
ENDIF
()
ENDIF
()
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