Mercurial > hg > orthanc
annotate Resources/CMake/UuidConfiguration.cmake @ 2984:db8f360fcb41
OrthancPluginAutodetectMimeType()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 08 Dec 2018 20:59:37 +0100 |
parents | ebd2c9ba66c4 |
children | 0c2a8d5e0097 |
rev | line source |
---|---|
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 if (STATIC_BUILD OR NOT USE_SYSTEM_UUID) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 SET(E2FSPROGS_SOURCES_DIR ${CMAKE_BINARY_DIR}/e2fsprogs-1.43.8) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 SET(E2FSPROGS_URL "http://www.orthanc-server.com/downloads/third-party/e2fsprogs-1.43.8.tar.gz") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 SET(E2FSPROGS_MD5 "670b7a74a8ead5333acf21b9afc92b3c") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 |
2917
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
8 if (IS_DIRECTORY "${E2FSPROGS_SOURCES_DIR}") |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
9 set(FirstRun OFF) |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
10 else() |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
11 set(FirstRun ON) |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
12 endif() |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
13 |
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 DownloadPackage(${E2FSPROGS_MD5} ${E2FSPROGS_URL} "${E2FSPROGS_SOURCES_DIR}") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 |
2917
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
16 |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
17 ## |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
18 ## Patch for OS X, in order to be compatible with Cocoa (used in Stone) |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
19 ## |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
20 |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
21 execute_process( |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
22 COMMAND ${PATCH_EXECUTABLE} -p0 -N -i |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
23 ${ORTHANC_ROOT}/Resources/Patches/e2fsprogs-1.43.8-apple.patch |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
24 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
25 RESULT_VARIABLE Failure |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
26 ) |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
27 |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
28 if (FirstRun AND Failure) |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
29 message(FATAL_ERROR "Error while patching a file") |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
30 endif() |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
31 |
ebd2c9ba66c4
patch for compatibility with Cocoa on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2916
diff
changeset
|
32 |
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
33 include_directories( |
2916
c226799724bf
place include directory for static libuuid at highest priority
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2524
diff
changeset
|
34 BEFORE ${E2FSPROGS_SOURCES_DIR}/lib |
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
35 ) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
36 |
2453
c50413a4092c
missing generated file in e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2452
diff
changeset
|
37 set(UUID_SOURCES |
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
38 #${E2FSPROGS_SOURCES_DIR}/lib/uuid/tst_uuid.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
39 #${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_time.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
40 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/clear.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
41 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/compare.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
42 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/copy.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
43 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/gen_uuid.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
44 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/isnull.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
45 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/pack.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
46 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/parse.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
47 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/unpack.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
48 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/unparse.c |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
49 ) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
50 |
2455
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
51 check_include_file("net/if.h" HAVE_NET_IF_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
52 check_include_file("net/if_dl.h" HAVE_NET_IF_DL_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
53 check_include_file("netinet/in.h" HAVE_NETINET_IN_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
54 check_include_file("stdlib.h" HAVE_STDLIB_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
55 check_include_file("sys/file.h" HAVE_SYS_FILE_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
56 check_include_file("sys/ioctl.h" HAVE_SYS_IOCTL_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
57 check_include_file("sys/resource.h" HAVE_SYS_RESOURCE_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
58 check_include_file("sys/socket.h" HAVE_SYS_SOCKET_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
59 check_include_file("sys/sockio.h" HAVE_SYS_SOCKIO_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
60 check_include_file("sys/syscall.h" HAVE_SYS_SYSCALL_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
61 check_include_file("sys/time.h" HAVE_SYS_TIME_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
62 check_include_file("sys/un.h" HAVE_SYS_UN_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
63 check_include_file("unistd.h" HAVE_UNISTD_H) |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
64 |
2524
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
65 if (NOT HAVE_NET_IF_H) # This is the case of OpenBSD |
2461 | 66 unset(HAVE_NET_IF_H CACHE) |
67 check_include_files("sys/socket.h;net/if.h" HAVE_NET_IF_H) | |
68 endif() | |
69 | |
70 if (NOT HAVE_NETINET_TCP_H) # This is the case of OpenBSD | |
71 unset(HAVE_NETINET_TCP_H CACHE) | |
72 check_include_files("sys/socket.h;netinet/tcp.h" HAVE_NETINET_TCP_H) | |
73 endif() | |
74 | |
2524
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
75 if (NOT EXISTS ${E2FSPROGS_SOURCES_DIR}/lib/uuid/config.h) |
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
76 file(WRITE ${E2FSPROGS_SOURCES_DIR}/lib/uuid/config.h.cmake " |
2455
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
77 #cmakedefine HAVE_NET_IF_H \@HAVE_NET_IF_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
78 #cmakedefine HAVE_NET_IF_DL_H \@HAVE_NET_IF_DL_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
79 #cmakedefine HAVE_NETINET_IN_H \@HAVE_NETINET_IN_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
80 #cmakedefine HAVE_STDLIB_H \@HAVE_STDLIB_H \@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
81 #cmakedefine HAVE_SYS_FILE_H \@HAVE_SYS_FILE_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
82 #cmakedefine HAVE_SYS_IOCTL_H \@HAVE_SYS_IOCTL_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
83 #cmakedefine HAVE_SYS_RESOURCE_H \@HAVE_SYS_RESOURCE_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
84 #cmakedefine HAVE_SYS_SOCKET_H \@HAVE_SYS_SOCKET_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
85 #cmakedefine HAVE_SYS_SOCKIO_H \@HAVE_SYS_SOCKIO_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
86 #cmakedefine HAVE_SYS_SYSCALL_H \@HAVE_SYS_SYSCALL_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
87 #cmakedefine HAVE_SYS_TIME_H \@HAVE_SYS_TIME_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
88 #cmakedefine HAVE_SYS_UN_H \@HAVE_SYS_UN_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
89 #cmakedefine HAVE_UNISTD_H \@HAVE_UNISTD_H\@ |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
90 ") |
2524
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
91 endif() |
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
92 |
2455
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
93 configure_file( |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
94 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/config.h.cmake |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
95 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/config.h |
6b3c0d5f65af
improved e2fsprogs
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2453
diff
changeset
|
96 ) |
2524
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
97 |
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
98 configure_file( |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
99 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid.h.in |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
100 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid.h |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
101 ) |
2452 | 102 |
2524
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
103 if (NOT EXISTS ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h) |
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
104 file(WRITE |
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
105 ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h |
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
106 "#include <stdint.h>\n") |
a29ffb73f6fd
optimization in cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2461
diff
changeset
|
107 endif() |
2450
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
108 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 source_group(ThirdParty\\uuid REGULAR_EXPRESSION ${E2FSPROGS_SOURCES_DIR}/.*) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
110 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
111 else() |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
112 CHECK_INCLUDE_FILE(uuid/uuid.h HAVE_UUID_H) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
113 if (NOT HAVE_UUID_H) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
114 message(FATAL_ERROR "Please install uuid-dev, e2fsprogs (OpenBSD) or e2fsprogs-libuuid (FreeBSD)") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
115 endif() |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
116 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
117 check_library_exists(uuid uuid_generate_random "" HAVE_UUID_LIB) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
118 if (NOT HAVE_UUID_LIB) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
119 message(FATAL_ERROR "Unable to find the uuid library") |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
120 endif() |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
121 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
122 link_libraries(uuid) |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
123 endif() |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
124 |
ade8b4ddd8a6
Static linking against libuuid
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
125 endif() |