diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 60d76da..1cbb9f4 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,5 @@ -set(EXAMPLES_INSTALL_DIR lib/qhttpengine/examples) -set(EXAMPLES_BIN_DIR ${EXAMPLES_INSTALL_DIR}/bin) +set(EXAMPLES_INSTALL_DIR "${LIB_INSTALL_DIR}/qhttpengine/examples") +set(EXAMPLES_BIN_DIR "${EXAMPLES_INSTALL_DIR}/bin") set(EXAMPLES chatserver @@ -9,6 +9,6 @@ set(EXAMPLES foreach(EXAMPLE ${EXAMPLES}) add_subdirectory(${EXAMPLE}) install(DIRECTORY ${EXAMPLE} - DESTINATION ${EXAMPLES_INSTALL_DIR} + DESTINATION "${EXAMPLES_INSTALL_DIR}" ) endforeach()