Prevent websocketpp from polluting installs
When clients of fc (such as graphene) do an install (via `make install` or similar), websocketpp was installing as well. This commit prevents this from happening.
This commit is contained in:
parent
622ff58039
commit
ea2107d33a
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/git_revision.cpp.in" "${CMAKE_CU
|
||||||
list(APPEND sources "${CMAKE_CURRENT_BINARY_DIR}/git_revision.cpp")
|
list(APPEND sources "${CMAKE_CURRENT_BINARY_DIR}/git_revision.cpp")
|
||||||
list(APPEND sources ${fc_headers})
|
list(APPEND sources ${fc_headers})
|
||||||
|
|
||||||
add_subdirectory( vendor/websocketpp )
|
add_subdirectory( vendor/websocketpp EXCLUDE_FROM_ALL )
|
||||||
add_subdirectory( vendor/udt4 )
|
add_subdirectory( vendor/udt4 )
|
||||||
|
|
||||||
setup_library( fc SOURCES ${sources} LIBRARY_TYPE STATIC DONT_INSTALL_LIBRARY )
|
setup_library( fc SOURCES ${sources} LIBRARY_TYPE STATIC DONT_INSTALL_LIBRARY )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue