Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
cb2481ef
Commit
cb2481ef
authored
May 10, 2017
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensured flatc.exe is statically linked on Windows
parent
d7ac3788
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CMakeLists.txt
CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
cb2481ef
...
...
@@ -173,6 +173,10 @@ if(FLATBUFFERS_BUILD_FLATC)
if
(
NOT FLATBUFFERS_FLATC_EXECUTABLE
)
set
(
FLATBUFFERS_FLATC_EXECUTABLE $<TARGET_FILE:flatc>
)
endif
()
if
(
MSVC
)
# Make flatc.exe not depend on runtime dlls for easy distribution.
target_compile_options
(
flatc PUBLIC $<$<CONFIG:Release>:/MT>
)
endif
()
endif
()
if
(
FLATBUFFERS_BUILD_FLATHASH
)
...
...
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