Skip to content

Commit

Permalink
fix outoftree compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Jan 18, 2022
1 parent d792fc2 commit 74eff1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ jobs:
echo "DYLD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$DYLD_LIBRARY_PATH" | tee -a $GITHUB_ENV
fi
echo "LD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$LD_LIBRARY_PATH" | tee -a $GITHUB_ENV
# Add execution right on the tests
chmod +x $WORKSPACE_BUILD_PATH/THMPGSpatialHashingPlugin_test/THMPGSpatialHashingPlugin_test${{ steps.sofa.outputs.exe }}
deploy:
name: Deploy artifacts
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(SOURCE_FILES
initTHMPGSpatialHashingPlugin.cpp
)

sofa_find_package(SofaBaseCollision REQUIRED)
find_package(SofaBaseCollision REQUIRED)
sofa_find_package(SofaMeshCollision REQUIRED)
sofa_find_package(SofaMiscCollision REQUIRED)

Expand All @@ -31,4 +31,4 @@ sofa_create_package_with_targets(
TARGETS ${PROJECT_NAME} AUTO_SET_TARGET_PROPERTIES
PACKAGE_VERSION ${PROJECT_VERSION}
RELOCATABLE "plugins"
)
)

0 comments on commit 74eff1c

Please sign in to comment.