Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LidarView-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LidarView
LidarView-Core
Merge requests
!347
[fix] Allow application to be launched from nautilus
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[fix] Allow application to be launched from nautilus
fix/LaunchApplicationFromNautilus
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Nick Laurenson
requested to merge
fix/LaunchApplicationFromNautilus
into
master
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
TODO: check generated package on
: ubuntu 18.04
: ubuntu 20.04
: Windows 10
: OSX
Edited
2 years ago
by
Nick Laurenson
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b06fa929
1 commit,
2 years ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
CMake/SetCompilationFlags.cmake
+
7
−
0
Options
@@ -19,6 +19,13 @@ set(CMAKE_CXX_STANDARD 14)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
message
(
STATUS
"Building LidarView with C++
${
CMAKE_CXX_STANDARD
}
standard by default"
)
# Force executable to be code position dependent
# We do this because nautilus (the default file manager on gnome so on ubuntu) do not support
# to launch position idenpendent executable see https://bugzilla.gnome.org/show_bug.cgi?id=737849
# Setting CMAKE_POSITION_INDEPENDENT_CODE to OFF should do the work, but for some reason it doesn't
# add the "-no-pie- flag to the linker, so we do it manually
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
-no-pie"
)
# MSVC MT is not enforced # Wip to investigate
if
(
WIN32 AND MSVC
)
set
(
CMAKE_MSVC_RUNTIME_LIBRARY
"MultiThreadedDLL"
)
Loading