Skip to content

Commit

Permalink
Overwrite cache
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisTM committed Sep 18, 2020
1 parent 2798a3b commit c939540
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Expand Up @@ -10,10 +10,11 @@ LIBRARIES
cpprest
DEPENDS)

set(CPPREST_INSTALL_HEADERS OFF)
set(CPPREST_INSTALL OFF)
set(BUILD_TESTS OFF)
set(BUILD_SAMPLES OFF)
set(CPPREST_INSTALL_HEADERS OFF CACHE BOOL "Enable system header install" FORCE)
set(CPPREST_INSTALL OFF CACHE BOOL "Disable system library install" FORCE)
set(BUILD_TESTS OFF CACHE BOOL "Enable build tests" FORCE)
set(BUILD_SAMPLES OFF CACHE BOOL "Enable build samples" FORCE)
set(CPPREST_EXCLUDE_WEBSOCKETS ON CACHE BOOL "Exclude websockets functionality." FORCE)

# Use local version of cpprestsdk
get_filename_component(LOCAL_WEBSOCKETPP_INCLUDE_DIRS "Release/libs/websocketpp" ABSOLUTE)
Expand Down

0 comments on commit c939540

Please sign in to comment.