gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Support shared library build (#433)
0 1 0
default
1 file changed with 1 insertions and 0 deletions:
↑ Collapse diff ↑
Ignore white space 48 line context
... ...
@@ -36,45 +36,46 @@
36 36

	
37 37
IF(LEMON_HAVE_CPLEX)
38 38
  SET(LEMON_SOURCES ${LEMON_SOURCES} cplex.cc)
39 39
  INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIRS})
40 40
ENDIF()
41 41

	
42 42
IF(LEMON_HAVE_CLP)
43 43
  SET(LEMON_SOURCES ${LEMON_SOURCES} clp.cc)
44 44
  INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
45 45
ENDIF()
46 46

	
47 47
IF(LEMON_HAVE_CBC)
48 48
  SET(LEMON_SOURCES ${LEMON_SOURCES} cbc.cc)
49 49
  INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
50 50
ENDIF()
51 51

	
52 52
ADD_LIBRARY(lemon ${LEMON_SOURCES})
53 53
IF(UNIX)
54 54
  SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon)
55 55
ENDIF()
56 56

	
57 57
INSTALL(
58 58
  TARGETS lemon
59 59
  ARCHIVE DESTINATION lib
60
  LIBRARY DESTINATION lib
60 61
  COMPONENT library
61 62
)
62 63

	
63 64
INSTALL(
64 65
  DIRECTORY . bits concepts
65 66
  DESTINATION include/lemon
66 67
  COMPONENT headers
67 68
  FILES_MATCHING PATTERN "*.h"
68 69
)
69 70

	
70 71
INSTALL(
71 72
  FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
72 73
  DESTINATION include/lemon
73 74
  COMPONENT headers
74 75
)
75 76

	
76 77
INSTALL(
77 78
  FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
78 79
  DESTINATION lib/pkgconfig
79 80
)
80 81

	
0 comments (0 inline)