Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ec2f7ad6
Commit
ec2f7ad6
authored
Feb 28, 2011
by
James Goppert
Browse files
Cmake bug fix.
parent
2d8d4a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ec2f7ad6
...
...
@@ -78,8 +78,9 @@ enable_language(CXX)
# installer
include
(
InstallRequiredSystemLibraries
)
set
(
CPACK_PACKAGE_FILE_NAME
"
${
PROJECT_NAME
}
-
${
qgroundcontrol_VERSION
}
"
)
set
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
PROJECT_NAME
}
-
${
qgroundcontrol_VERSION
}
"
)
set
(
CPACK_GENERATOR
"DEB"
)
set
(
CPACK_SOURCE_GENERATOR
"TGZ
;ZIP
"
)
set
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
set
(
CPACK_INSTALL_PREFIX
"
${
CMAKE_INSTALL_PREFIX
}
"
)
set
(
CPACK_SET_DESTDIR TRUE
)
set
(
CPACK_PACKAGE_CONTACT
"James Goppert james.goppert@gmail.com"
)
...
...
@@ -89,7 +90,8 @@ set(CPACK_PACKAGE_DESCRITION_SUMMARY "
A qt based ground-control program for unmanned systems.
"
)
set
(
CPACK_SOURCE_IGNORE_FILES
${
CPACK_SOURCE_IGNORE_FILES
}
/.git/;/build/;~$;.*\\\\.bin$;.*\\\\.swp$
)
"/.git/"
;
"/build/"
;
"~$"
;
".*
\\\\
.bin$"
;
".*
\\\\
.swp$"
)
set
(
CPACK_RESOURCE_FILE_LICENSE
"
${
CMAKE_SOURCE_DIR
}
/license.txt"
)
set
(
CPACK_RESOURCE_FILE_README
"
${
CMAKE_SOURCE_DIR
}
/README"
)
set
(
CPACK_PACKAGE_VERSION_MAJOR
${
qgroundcontrol_VERSION_MAJOR
}
)
...
...
@@ -196,11 +198,6 @@ else()
message
(
STATUS
"
\t\t
MAVLINK
\t
NO"
)
endif
()
# fix for osg found bug
if
(
NOT
${
OSG_LIBRARY
}
STREQUAL
"OSG_LIBRARY-NOTFOUND"
)
set
(
OPENSCENEGRAPH_FOUND FALSE
)
endif
()
if
(
OPENSCENEGRAPH_FOUND
)
message
(
STATUS
"
\t\t
OpenSceneGraph
\t
NO"
)
else
()
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment