summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-27 22:39:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-27 22:39:44 +0200
commit5a5b02987823f9c7b8bcd832f9acf8bcaff73cc0 (patch)
treedff12bc92726ee0ab79b6918ff3fe441259a6edd /cmake
parent006ef4951ebce8f9fcd1432991ff33f4f138e718 (diff)
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-pkg-config.cmake4
1 files 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()