aboutsummaryrefslogtreecommitdiffstats
path: root/apps/http-proxy/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'apps/http-proxy/CMakeLists.txt')
-rw-r--r--apps/http-proxy/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/http-proxy/CMakeLists.txt b/apps/http-proxy/CMakeLists.txt
index dbe9bc51c..5acf09c19 100644
--- a/apps/http-proxy/CMakeLists.txt
+++ b/apps/http-proxy/CMakeLists.txt
@@ -15,7 +15,7 @@
# Compiler options
##############################################################
set(COMPILER_OPTIONS
- ${DEFAULT_COMPILER_OPTIONS}
+ PRIVATE ${DEFAULT_COMPILER_OPTIONS}
)
# -Wno-c99-designator issue
@@ -94,5 +94,6 @@ if (NOT DISABLE_EXECUTABLES)
DEPENDS ${LIBHTTP_PROXY_STATIC}
COMPONENT ${HICN_APPS}
LINK_FLAGS ${LINK_FLAGS}
+ COMPILE_OPTIONS ${COMPILER_OPTIONS}
)
endif ()