Commit 4ca036efc8e4d44ffe70a07541e38c336e596082
1 parent
fc3867a7
fixed pittpatt libs install destination
Showing
1 changed file
with
2 additions
and
4 deletions
sdk/plugins/pp5.cmake
| ... | ... | @@ -6,12 +6,10 @@ if(${BR_WITH_PP5}) |
| 6 | 6 | set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${PP5_LIBS}) |
| 7 | 7 | |
| 8 | 8 | if(WIN32) |
| 9 | - install(CODE "file( GLOB PP5_LIB \"${PP5_DIR}/lib/*.lib\" )" | |
| 10 | - CODE "file( GLOB PP5_BIN \"${PP5_DIR}/lib/*.dll\" )" | |
| 11 | - CODE "file( INSTALL \${PP5_LIB} DESTINATION \"lib\" )" | |
| 12 | - CODE "file( INSTALL \${PP5_BIN} DESTINATION \"bin\" )") | |
| 9 | + install(DIRECTORY ${PP5_DIR}/lib/ DESTINATION bin) | |
| 13 | 10 | else() |
| 14 | 11 | install(DIRECTORY ${PP5_DIR}/lib/ DESTINATION lib) |
| 15 | 12 | endif() |
| 13 | + | |
| 16 | 14 | install(DIRECTORY ${PP5_DIR}/models/ DESTINATION share/openbr/models/pp5) |
| 17 | 15 | endif() | ... | ... |