Skip to content

Commit

Permalink
Register headers for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ddement committed Dec 24, 2024
1 parent 44be753 commit 92750c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/correctness-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
-DOpenTurbine_ENABLE_SANITIZER_UNDEFINED=${{ matrix.build_external == 'none' }} \
-DOpenTurbine_ENABLE_CPPCHECK=ON \
-DOpenTurbine_ENABLE_CLANG_TIDY=ON \
-DOpenTurbine_WARNINGS_AS_ERRORS=ON \
-DOpenTurbine_BUILD_OPENFAST_ADI=${{ matrix.build_external == 'all' }} \
-DOpenTurbine_BUILD_ROSCO_CONTROLLER=${{ matrix.build_external == 'all' }} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/correctness-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
-DOpenTurbine_ENABLE_CPPCHECK=ON \
-DOpenTurbine_ENABLE_CLANG_TIDY=ON \
-DOpenTurbine_ENABLE_VTK=ON \
-DOpenTurbine_WARNINGS_AS_ERRORS=ON \
-DOpenTurbine_BUILD_OPENFAST_ADI=${{ matrix.build_external == 'all' }} \
-DOpenTurbine_BUILD_ROSCO_CONTROLLER=${{ matrix.build_external == 'all' }} \
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }} \
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenTurbineOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ macro(openturbine_setup_options)
option(OpenTurbine_ENABLE_TESTS "Build Tests" ON)
option(OpenTurbine_ENABLE_COVERAGE "Enable coverage reporting" OFF)
option(OpenTurbine_ENABLE_IPO "Enable IPO/LTO (Interprocedural Optimization/Link Time Optimization)" OFF)
option(OpenTurbine_WARNINGS_AS_ERRORS "Treat warnings as errors" ON)
option(OpenTurbine_WARNINGS_AS_ERRORS "Treat warnings as errors" OFF)
option(OpenTurbine_ENABLE_SANITIZER_ADDRESS "Enable address sanitizer" OFF)
option(OpenTurbine_ENABLE_SANITIZER_LEAK "Enable leak sanitizer" OFF)
option(OpenTurbine_ENABLE_SANITIZER_UNDEFINED "Enable undefined behavior sanitizer" OFF)
Expand Down
1 change: 1 addition & 0 deletions src/constraints/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target_sources(openturbine_library PRIVATE)
set_target_properties(openturbine_library PROPERTIES PUBLIC_HEADER "calculate_constraint_force.hpp")
2 changes: 1 addition & 1 deletion src/elements/springs/springs_input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace openturbine {
struct SpringsInput {
std::vector<SpringElement> elements; //< All spring elements in the system

SpringsInput(std::vector<SpringElement> elems) : elements(std::move(elems)) {}
explicit SpringsInput(std::vector<SpringElement> elems) : elements(std::move(elems)) {}

/// Returns the total number of spring elements in the system
[[nodiscard]] size_t NumElements() const { return elements.size(); }
Expand Down

0 comments on commit 92750c3

Please sign in to comment.