Update CMakeLists.txt
This commit is contained in:
parent
af1b54e268
commit
da8aef4810
|
|
@ -52,6 +52,11 @@ if(AMQP-CPP_LINUX_TCP)
|
|||
add_subdirectory(src/linux_tcp)
|
||||
endif()
|
||||
|
||||
# potentially build the examples
|
||||
if(AMQP-CPP_BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
||||
# settings for specific compilers
|
||||
# ------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -93,10 +98,6 @@ else()
|
|||
)
|
||||
endif()
|
||||
|
||||
if(AMQP-CPP_BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
||||
# copy header files
|
||||
install(DIRECTORY include/amqpcpp/ DESTINATION include/amqpcpp
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
|
|
|
|||
Loading…
Reference in New Issue