|
@@ -41,11 +41,11 @@ elseif (_GLFW_WAYLAND)
|
|
|
|
|
|
ecm_add_wayland_client_protocol(glfw_SOURCES
|
|
|
PROTOCOL
|
|
|
- ${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml
|
|
|
+ "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml"
|
|
|
BASENAME relative-pointer-unstable-v1)
|
|
|
ecm_add_wayland_client_protocol(glfw_SOURCES
|
|
|
PROTOCOL
|
|
|
- ${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
|
|
|
+ "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml"
|
|
|
BASENAME pointer-constraints-unstable-v1)
|
|
|
elseif (_GLFW_MIR)
|
|
|
set(glfw_HEADERS ${common_HEADERS} mir_platform.h linux_joystick.h
|
|
@@ -90,8 +90,8 @@ target_compile_definitions(glfw PRIVATE
|
|
|
_GLFW_USE_CONFIG_H
|
|
|
$<$<BOOL:${UNIX}>:_XOPEN_SOURCE=600>)
|
|
|
target_include_directories(glfw PUBLIC
|
|
|
- $<BUILD_INTERFACE:${GLFW_SOURCE_DIR}/include>
|
|
|
- $<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>)
|
|
|
+ "$<BUILD_INTERFACE:${GLFW_SOURCE_DIR}/include>"
|
|
|
+ "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>")
|
|
|
target_include_directories(glfw PRIVATE
|
|
|
"${GLFW_SOURCE_DIR}/src"
|
|
|
"${GLFW_BINARY_DIR}/src"
|