IntelLabs / IntelLabs/encrypted-computing-sdk

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

Open
#62 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
5
Avg merge
7h 3m
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.