Skip to content

Commit

Permalink
corrosion_install(): fix order of install arguments for static libraries
Browse files Browse the repository at this point in the history
The signature is documented as:
```
install(<FILES|PROGRAMS> <file>...
        TYPE <type> | DESTINATION <dir>
        [PERMISSIONS <permission>...]
        ...
        )
```
  • Loading branch information
jschwe committed Aug 11, 2024
1 parent 3a18c4c commit e9bf4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Corrosion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1289,8 +1289,8 @@ function(corrosion_install)

install(
FILES $<TARGET_PROPERTY:${INSTALL_TARGET}-static,IMPORTED_LOCATION>
PERMISSIONS ${PERMISSIONS}
DESTINATION ${DESTINATION}
PERMISSIONS ${PERMISSIONS}
${CONFIGURATIONS}
)
else()
Expand Down

0 comments on commit e9bf4cd

Please sign in to comment.