16 lines
343 B
CMake
16 lines
343 B
CMake
|
|
add_library(attachmentSupport STATIC
|
||
|
|
attachmentSupport.cpp
|
||
|
|
)
|
||
|
|
|
||
|
|
set_target_properties(attachmentSupport PROPERTIES
|
||
|
|
POSITION_INDEPENDENT_CODE ON
|
||
|
|
)
|
||
|
|
|
||
|
|
target_include_directories(attachmentSupport PUBLIC
|
||
|
|
${Boost_INCLUDE_DIRS}
|
||
|
|
${CMAKE_SOURCE_DIR}/include
|
||
|
|
${CMAKE_BINARY_DIR}/include
|
||
|
|
)
|
||
|
|
|
||
|
|
target_link_libraries(attachmentSupport ${Boost_LIBRARIES})
|