Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Archive
Alchemy Viewer
Commits
b4bccf1d
Commit
b4bccf1d
authored
5 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Fix a compiler check
parent
1a1fb419
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
indra/cmake/GeneratePrecompiledHeader.cmake
+1
-1
1 addition, 1 deletion
indra/cmake/GeneratePrecompiledHeader.cmake
with
1 addition
and
1 deletion
indra/cmake/GeneratePrecompiledHeader.cmake
+
1
−
1
View file @
b4bccf1d
...
@@ -68,7 +68,7 @@ macro(target_precompiled_header TARGET_NAME PRECOMPILED_HEADER PRECOMPILED_SOURC
...
@@ -68,7 +68,7 @@ macro(target_precompiled_header TARGET_NAME PRECOMPILED_HEADER PRECOMPILED_SOURC
XCODE_ATTRIBUTE_GCC_PREFIX_HEADER
"
${
PRECOMPILED_HEADER
}
"
XCODE_ATTRIBUTE_GCC_PREFIX_HEADER
"
${
PRECOMPILED_HEADER
}
"
XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER
"YES"
XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER
"YES"
)
)
elseif
(
CMAKE_COMPILER_I
S_
GNU
CC
OR CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
elseif
(
"
${
CMAKE_
CXX_
COMPILER_I
D
}
"
STREQUAL
"
GNU
"
OR CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
# Create and set output directory.
# Create and set output directory.
set
(
OUTPUT_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
PRECOMPILED_HEADER_NAME
}
.gch"
)
set
(
OUTPUT_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
PRECOMPILED_HEADER_NAME
}
.gch"
)
make_directory
(
${
OUTPUT_DIR
}
)
make_directory
(
${
OUTPUT_DIR
}
)
...
...
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