CMake errors when using -DBUILD_SHARED_LIBS=OFF after #1178
envgap__OpenNMT__CTranslate2-1196
01 / FAILURE SIGNATURE
As reported upstream
CMake Error: install(EXPORT "ctranslate2Targets" ...) includes target "ctranslate2" which requires target "spdlog_header_only" that is not in any export set.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
291f20149816c5717d937eac3173f5ace67eea20- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
OpenNMT/CTranslate2 #1196 · read the original issue
Hi, It seems sth went off after #1178 and now I'm getting these errors in my project: ```CMake CMake Error: install(EXPORT "ctranslate2Targets" ...) includes target "ctranslate2" which requires target "spdlog_header_only" that is not in any export set. CMake Error in ext/CTranslate2/CMakeLists.txt: export called with target "ctranslate2" which requires target "spdlog_header_only" that is not in any export set. CMake Error in ext/CTranslate2/CMakeLists.txt: export called with target "ctranslate2" which requires target "cpu_features" that is not in any export set. ``` Building from command line seems OK, so do I have to change anything in my project's CMakeLists.txt?
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]