Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
obs-studio
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Yunxiang Li
obs-studio
Commits
aeab5c35
Commit
aeab5c35
authored
10 years ago
by
BtbN
Browse files
Options
Downloads
Patches
Plain Diff
Disable safeseh on 32bit builds
parent
8bfa7398
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
+6
-0
6 additions, 0 deletions
CMakeLists.txt
with
6 additions
and
0 deletions
CMakeLists.txt
+
6
−
0
View file @
aeab5c35
...
...
@@ -50,6 +50,12 @@ endif()
if
(
MSVC
)
set
(
CMAKE_C_FLAGS_DEBUG
"/DDEBUG=1 /D_DEBUG=1
${
CMAKE_C_FLAGS_DEBUG
}
"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"/DDEBUG=1 /D_DEBUG=1
${
CMAKE_C_FLAGS_DEBUG
}
"
)
if
(
NOT CMAKE_SIZEOF_VOID_P EQUAL 8
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/SAFESEH:NO"
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"
${
CMAKE_SHARED_LINKER_FLAGS
}
/SAFESEH:NO"
)
set
(
CMAKE_MODULE_LINKER_FLAGS
"
${
CMAKE_MODULE_LINKER_FLAGS
}
/SAFESEH:NO"
)
endif
()
else
()
set
(
CMAKE_C_FLAGS_DEBUG
"-DDEBUG=1 -D_DEBUG=1
${
CMAKE_C_FLAGS_DEBUG
}
"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-DDEBUG=1 -D_DEBUG=1
${
CMAKE_C_FLAGS_DEBUG
}
"
)
...
...
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