File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
OMCompiler/SimulationRuntime/ParModelica/auto Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ target_link_libraries(ParModelicaAuto PUBLIC omc::simrt::runtime)
2020target_link_libraries (ParModelicaAuto PUBLIC omc::3rd::tbb)
2121target_compile_definitions (ParModelicaAuto PRIVATE USE_FLOW_SCHEDULER)
2222
23+ # For now, disable deprecation warning from the json reader. We do not plan to update any time soon.
24+ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
25+ target_compile_options (ParModelicaAuto PRIVATE -Wno-deprecated-declarations)
26+ endif ()
27+
2328# add_executable(ParModelicaAutoTest)
2429# target_sources(ParModelicaAutoTest PRIVATE test_task_graph.cpp)
2530# target_link_libraries(ParModelicaAutoTest PRIVATE ParModelicaAuto)
You can’t perform that action at this time.
0 commit comments