Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
Lima
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
35
Issues
35
List
Boards
Labels
Milestones
JIRA
JIRA
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LimaGroup
Lima
Commits
2be437b2
Commit
2be437b2
authored
Feb 05, 2019
by
Samuel Debionne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use target_compile_definitions instead of add_compile_definitions
parent
91a39292
Pipeline
#8202
passed with stages
in 20 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
2be437b2
...
...
@@ -259,12 +259,12 @@ if(LIMA_BUILD_SUBMODULES)
endif
()
if
(
UNIX AND LIMA_ENABLE_NUMA
)
add_compile_definitions
(
LIMA_USE_NUMA
)
target_compile_definitions
(
limacore PUBLIC
LIMA_USE_NUMA
)
target_include_directories
(
limacore PRIVATE
"
${
NUMA_INCLUDE_DIR
}
"
)
endif
()
if
(
LIMA_ENABLE_SPS_IMAGE
)
target_compile_definitions
(
limacore PUBLIC
-D
WITH_SPS_IMAGE
)
target_compile_definitions
(
limacore PUBLIC WITH_SPS_IMAGE
)
target_include_directories
(
limacore PRIVATE
"
${
CMAKE_SOURCE_DIR
}
/third-party/Sps/Include"
)
endif
()
...
...
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