mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
14 lines
640 B
Diff
14 lines
640 B
Diff
Prevent argument splitting from the semicolon
|
|
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -175,7 +175,7 @@ if(BUILD_LIBRARIES)
|
|
add_library(${install_namespace}::${TARGET} ALIAS ${TARGET})
|
|
get_target_property(libtype "${TARGET}" TYPE)
|
|
target_include_directories("${TARGET}" PUBLIC
|
|
- $<BUILD_INTERFACE:include;${CMAKE_CURRENT_BINARY_DIR}> # latter for wayland-version.hpp
|
|
+ "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include;${CMAKE_CURRENT_BINARY_DIR}>" # latter for wayland-version.hpp
|
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
|
)
|
|
target_compile_options("${TARGET}" PUBLIC ${CFLAGS})
|