From 5a5b02987823f9c7b8bcd832f9acf8bcaff73cc0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 May 2018 22:39:44 +0200 Subject: cmake/pkg-config: space _after_ append_string text Keeps it in line with the rest of the APPEND_STRING code. Putting the space inconsistently makes the whole thing blow up. --- cmake/opentrack-pkg-config.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/opentrack-pkg-config.cmake b/cmake/opentrack-pkg-config.cmake index 218bba6e..8d9615f3 100644 --- a/cmake/opentrack-pkg-config.cmake +++ b/cmake/opentrack-pkg-config.cmake @@ -16,9 +16,9 @@ function(otr_pkgconfig target) endif() endforeach() #message(STATUS "foo | ${cflags} | ${includes} | ${ldflags}") - set_property(TARGET ${target} APPEND_STRING PROPERTY COMPILE_FLAGS " ${cflags}") + set_property(TARGET ${target} APPEND_STRING PROPERTY COMPILE_FLAGS "${cflags} ") target_include_directories(${target} SYSTEM PRIVATE ${includes}) - set_property(TARGET ${target} APPEND_STRING PROPERTY LINK_FLAGS " ${ldflags}") + set_property(TARGET ${target} APPEND_STRING PROPERTY LINK_FLAGS "${ldflags} ") endfunction() -- cgit v1.2.3