Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_quantization
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
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Eclipse Projects
aidge
aidge_quantization
Merge requests
!34
ADD: fmt as private library
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ADD: fmt as private library
fix_add-fmt-library-to-target
into
dev
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Maxence Naud
requested to merge
fix_add-fmt-library-to-target
into
dev
4 months ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
Context
Link fmt library to target to avoid linkage error with Python library.
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
7ad6bbf2
1 commit,
4 months ago
1 file
+
1
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
CMakeLists.txt
+
1
−
12
Options
@@ -85,17 +85,6 @@ endif()
# ##############################################
# Find system dependencies
Include
(
FetchContent
)
FetchContent_Declare
(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 10.2.1
# or a later release
)
set
(
FMT_SYSTEM_HEADERS ON
)
FetchContent_MakeAvailable
(
fmt
)
set_property
(
TARGET fmt PROPERTY POSITION_INDEPENDENT_CODE ON
)
if
(
CUDA
)
find_package
(
CUDAToolkit REQUIRED
)
@@ -169,7 +158,7 @@ if (PYBIND)
endif
()
# XXX HERE !!!
target_link_libraries
(
${
module_name
}
P
UBLIC
fmt::fmt
)
target_link_libraries
(
${
module_name
}
P
RIVATE
fmt::fmt
)
target_compile_features
(
${
module_name
}
PRIVATE cxx_std_14
)
target_compile_options
(
${
module_name
}
PRIVATE
Loading