Enable shared _in_ cmake
Alastair McKinstry
10 years ago
4 | 4 | |
5 | 5 | Index: exodusii-6.02.dfsg.1/exodus/cbind/CMakeLists.txt |
6 | 6 | =================================================================== |
7 | --- exodusii-6.02.dfsg.1.orig/exodus/cbind/CMakeLists.txt 2013-12-14 18:33:09.000000000 +0000 | |
8 | +++ exodusii-6.02.dfsg.1/exodus/cbind/CMakeLists.txt 2013-12-15 17:33:03.000000000 +0000 | |
7 | --- exodusii-6.02.dfsg.1.orig/exodus/cbind/CMakeLists.txt 2013-12-15 17:56:40.000000000 +0000 | |
8 | +++ exodusii-6.02.dfsg.1/exodus/cbind/CMakeLists.txt 2013-12-15 17:56:50.000000000 +0000 | |
9 | 9 | @@ -284,6 +284,8 @@ |
10 | 10 | set_target_properties(exoIIv2c PROPERTIES COMPILE_DEFINITIONS _CRT_SECURE_NO_WARNINGS) |
11 | 11 | ENDIF(MSVC) |
17 | 17 | ENDIF(EXODUS_LIBRARY_PROPERTIES) |
18 | 18 | Index: exodusii-6.02.dfsg.1/nemesis/CMakeLists.txt |
19 | 19 | =================================================================== |
20 | --- exodusii-6.02.dfsg.1.orig/nemesis/CMakeLists.txt 2013-12-14 18:33:09.000000000 +0000 | |
21 | +++ exodusii-6.02.dfsg.1/nemesis/CMakeLists.txt 2013-12-15 17:33:47.000000000 +0000 | |
20 | --- exodusii-6.02.dfsg.1.orig/nemesis/CMakeLists.txt 2013-12-15 17:56:40.000000000 +0000 | |
21 | +++ exodusii-6.02.dfsg.1/nemesis/CMakeLists.txt 2013-12-15 17:56:50.000000000 +0000 | |
22 | 22 | @@ -74,6 +74,7 @@ |
23 | 23 | |
24 | 24 | ADD_LIBRARY(nemesis ${SOURCES}) |
29 | 29 | TARGET_LINK_LIBRARIES( ne_test nemesis ${EXODUS_LIBRARY} ${NETCDF_LIBRARY} ${HDF5HL_LIBRARY} ${HDF5_LIBRARY} ${Z_LIBRARY} ${MATH_LIBRARY}) |
30 | 30 | Index: exodusii-6.02.dfsg.1/exodus/CMakeLists.txt |
31 | 31 | =================================================================== |
32 | --- exodusii-6.02.dfsg.1.orig/exodus/CMakeLists.txt 2013-12-14 18:33:09.000000000 +0000 | |
33 | +++ exodusii-6.02.dfsg.1/exodus/CMakeLists.txt 2013-12-15 17:55:46.000000000 +0000 | |
32 | --- exodusii-6.02.dfsg.1.orig/exodus/CMakeLists.txt 2013-12-15 17:56:40.000000000 +0000 | |
33 | +++ exodusii-6.02.dfsg.1/exodus/CMakeLists.txt 2013-12-15 18:05:56.000000000 +0000 | |
34 | 34 | @@ -7,7 +7,7 @@ |
35 | 35 | SET(EXODUSII_VERSION "${EXODUSII_VERSION_MAJOR}.${EXODUSII_VERSION_MINOR}") |
36 | 36 | SET(EXODUSII_VERSION_FULL "${EXODUSII_VERSION}.${EXODUSII_VERSION_PATCH}") |
37 | 37 | |
38 | 38 | -OPTION(BUILD_SHARED "Build the exodus libraries shared." OFF) |
39 | +# OPTION(BUILD_SHARED "Build the exodus libraries shared." ON) | |
39 | +OPTION(BUILD_SHARED "Build the exodus libraries shared." ON) | |
40 | 40 | |
41 | 41 | IF(BUILD_SHARED) |
42 | 42 | SET(EXODUS_LIBRARY_TYPE SHARED) |