write libs into lib64 dir on 64 bit platforms
[libi2ncommon] / configlib / CMakeLists.txt
CommitLineData
263b5807
TJ
1include_directories(${CMAKE_SOURCE_DIR}/src)
2
3set(cpp_sources
4 i2n_global_config.cpp
5)
6
7set(cpp_headers
8 i2n_global_config.hpp
9)
10
57cee5f6 11add_library(i2ncommon_config SHARED ${cpp_sources} ${cpp_headers})
263b5807 12
fad32e5f 13set_target_properties(i2ncommon_config PROPERTIES VERSION ${VERSION} SOVERSION 3)
263b5807
TJ
14
15
16install(TARGETS i2ncommon_config
4a1afbc0 17 LIBRARY DESTINATION lib${LIB_SUFFIX}
263b5807
TJ
18 COMPONENT sharedlibs)
19
20install(FILES ${cpp_headers}
21 DESTINATION include
22 COMPONENT headers)