Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
a165e592
Commit
a165e592
authored
Jun 26, 2014
by
louiz’
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some cmake issues
fix
#2551
parent
48ed4720
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
CMakeLists.txt
CMakeLists.txt
+6
-7
No files found.
CMakeLists.txt
View file @
a165e592
...
...
@@ -173,15 +173,13 @@ target_link_libraries(${PROJECT_NAME}
if
(
SYSTEMDDAEMON_FOUND
)
target_link_libraries
(
xmpp
${
SYSTEMDDAEMON_LIBRARIES
}
)
endif
()
if
(
WITH_DOC
)
add_dependencies
(
${
PROJECT_NAME
}
doc
)
endif
()
#
## Tests
#
add_executable
(
test_suite
src/test.cpp
)
add_executable
(
test_suite EXCLUDE_FROM_ALL
src/test.cpp
)
target_link_libraries
(
test_suite
xmpp
irc
...
...
@@ -190,6 +188,7 @@ target_link_libraries(test_suite
config
logger
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/config.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/src/config.h
)
#
...
...
@@ -198,7 +197,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BI
install
(
TARGETS
${
PROJECT_NAME
}
RUNTIME DESTINATION bin
)
if
(
WITH_DOC
)
install
(
FILES
${
MAN_PAGE
}
DESTINATION
man/man1
)
install
(
FILES
${
MAN_PAGE
}
DESTINATION
share/man/man1 OPTIONAL
)
endif
()
#
...
...
@@ -208,4 +207,4 @@ endif()
add_custom_target
(
dist
COMMAND git archive --prefix=
${
ARCHIVE_NAME
}
/ --format=tar HEAD
| xz >
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
ARCHIVE_NAME
}
.tar.xz
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
\ No newline at end of file
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
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