IntelLabs / IntelLabs/encrypted-computing-sdk

c++ linkage against std++fs missing in CMakeLists.txt

Offen
#62 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
72
Forks
5
Ø Merge
7 Std. 3 Min.
Gemergte PRs (30 T.)
2

Beschreibung

**Version Information (Put N/A for Not Applicable)**
| Software | Version(s) |
| ---------------------------| --------------- |
| Linux | RockyLinux 8 |
| Git | |
| CMake | 3.26 |
| Compiler (GCC, Clang, etc.)| clang 18.1.8 |
| Python | |
| Doxygen | |
| Kernel Generator | |
| Documentation | |

**Describe the bug**
c++ linkage against std++fs missing in CMakeLists.txt with a unknown linkage
```

```

**Solution**
```
--- a/functional_modeler/functional_modeler/CMakeLists.txt
+++ b/functional_modeler/functional_modeler/CMakeLists.txt
@@ -10,7 +10,7 @@ set(${PROJECT_NAME}_SOURCES

add_executable(functional_modeler ${${PROJECT_NAME}_SOURCES} ${IDE_HEADERS})
target_include_directories(functional_modeler PRIVATE ${INCLUDE_DIRS})
-target_link_libraries(functional_modeler PUBLIC nlohmann_json::nlohmann_json snap OpenMP::OpenMP_CXX common)
+target_link_libraries(functional_modeler PUBLIC nlohmann_json::nlohmann_json snap OpenMP::OpenMP_CXX common stdc++fs)
if(ENABLE_DATA_FORMATS)
target_link_libraries(functional_modeler PUBLIC HERACLES_DATA_FORMATS::heracles_data_formats)
endif()
diff --git a/functional_modeler/functional_modeler/function
```

**To Reproduce**

**Expected behavior**
Build to be completed correctly.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.