1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

cmake fix install path

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2013-03-09 12:51:43 +08:00
parent 9f2246eb35
commit 63b3b959fc

View file

@ -495,7 +495,7 @@ if (NOT WITHOUT_TESTAPPS)
# Set test app specific defines.
set_property(TARGET ${TEST_NAME}
PROPERTY COMPILE_DEFINITIONS
INSTALL_DATADIR="${SSL_CERT_DIR}"
INSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/share"
)
# Prefix the binary names with libwebsockets.
@ -537,7 +537,7 @@ if (NOT WITHOUT_TESTAPPS)
TARGET test-server-extpoll
PROPERTY COMPILE_DEFINITIONS
EXTERNAL_POLL
INSTALL_DATADIR="${SSL_CERT_DIR}"
INSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/share"
)
# We need to link against winsock code.