IntelLabs / IntelLabs/encrypted-computing-sdk

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

Aperta
#62 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
72
Fork
5
Merge medio
7h 3m
PR unite (30g)
2

Descrizione

**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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.