Changeset bf52311992e0411a26fec5ae19d254308e122058
- Timestamp:
- 05/04/08 17:12:45
(4 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1209913965 +0200
- git-parent:
[025edf958e15ea1dc0f7a63d7c4bd19272d27607]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1209913224 +0200
- Message:
cmake: Define HAVE_ATTRIBUTE_PACKED if needed.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rab78c30 |
rbf52311 |
|
| 98 | 98 | set( HAVE_DYNAMIC_PLUGINS ${ENABLE_DYNAMIC_PLUGINS}) |
|---|
| 99 | 99 | set( LIBEXT ${CMAKE_SHARED_MODULE_SUFFIX}) |
|---|
| | 100 | |
|---|
| | 101 | check_c_source_compiles( |
|---|
| | 102 | "struct __attribute__((__packed__)) foo { int a; } b; int main(){return 0;}" |
|---|
| | 103 | HAVE_ATTRIBUTE_PACKED) |
|---|
| 100 | 104 | |
|---|
| 101 | 105 | ########################################################### |
|---|