Skip to content

Commit

Permalink
Include params.cpp even without drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Apr 23, 2024
1 parent 7540c41 commit fb802a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ add_library(alpaqa
"alpaqa/src/inner/directions/panoc/structured-newton.cpp"
"alpaqa/src/inner/directions/panoc/convex-newton.cpp"
"alpaqa/src/inner/internal/panoc-helpers.cpp"
"alpaqa/src/params/params.cpp"
)
if (ALPAQA_WITH_DL OR ALPAQA_WITH_CASADI)
target_sources(alpaqa PRIVATE
Expand All @@ -51,10 +52,6 @@ if (ALPAQA_WITH_OCP)
"alpaqa/src/inner/panoc-ocp.cpp"
"alpaqa/src/problem/ocproblem.cpp")
endif()
if (ALPAQA_WITH_DRIVERS)
target_sources(alpaqa PRIVATE
"alpaqa/src/params/params.cpp")
endif()
if (ALPAQA_WITH_JSON)
find_package(nlohmann_json REQUIRED)
target_sources(alpaqa PRIVATE
Expand Down

0 comments on commit fb802a0

Please sign in to comment.