diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-27 01:35:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-27 02:23:32 +0200 |
commit | 9deb6dafac0877423abe38eab887d11ea80ef548 (patch) | |
tree | b347e85dee32faab599653d283e51efead93e0df /cmake/opentrack-platform.cmake | |
parent | 9921018749d91d4d3c3063347dc40b882f8f6634 (diff) |
cmake: rename project's function prefix
It's not annoying having to type it anymore. Also
"otr_boilerplate" -> "otr_module".
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 721d5675..ab3a5f8b 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -74,7 +74,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC OFF) set(CMAKE_POSITION_INDEPENDENT_CODE ON) -include_directories(${CMAKE_SOURCE_DIR}) +include_directories("${CMAKE_SOURCE_DIR}") if(APPLE) set(CMAKE_MACOSX_RPATH OFF) @@ -105,7 +105,7 @@ function(fix_flags lang flag replacement) if(".${replacement}" STREQUAL ".") set(pfx "") endif() - opentrack_escape_string(flag "${flag}") + otr_escape_string(flag "${flag}") foreach(k _DEBUG _RELEASE _MINSIZEREL _RELWITHDEBINFO "") set(tmp "${CMAKE_${lang}_FLAGS${k}}") if(NOT ".${replacement}" STREQUAL ".") |