Commit 4ca036efc8e4d44ffe70a07541e38c336e596082

Authored by Josh Klontz
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,12 +6,10 @@ if(${BR_WITH_PP5})
6 set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${PP5_LIBS}) 6 set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${PP5_LIBS})
7 7
8 if(WIN32) 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 else() 10 else()
14 install(DIRECTORY ${PP5_DIR}/lib/ DESTINATION lib) 11 install(DIRECTORY ${PP5_DIR}/lib/ DESTINATION lib)
15 endif() 12 endif()
  13 +
16 install(DIRECTORY ${PP5_DIR}/models/ DESTINATION share/openbr/models/pp5) 14 install(DIRECTORY ${PP5_DIR}/models/ DESTINATION share/openbr/models/pp5)
17 endif() 15 endif()