summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-10 01:07:51 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-10 01:50:50 +0100
commitb600e54dc76254b7e431a1e50cff6707aa2d3d3e (patch)
tree76cfeb9d76e67241d9d048ad7b59b65a474060a4 /cmake/opentrack-platform.cmake
parentf348546bd9fee8a82ad14f5583430fe65f960458 (diff)
cmake: small cleanup
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r--cmake/opentrack-platform.cmake7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index 0eb3c77f..99589a76 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -37,8 +37,8 @@ endif()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # for clang
-string(TOUPPER "${CMAKE_BUILD_TYPE}" __build_type)
-set(CMAKE_BUILD_TYPE "${__build_type}" CACHE STRING "" FORCE)
+string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE)
+set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "" FORCE)
include_directories("${CMAKE_SOURCE_DIR}")
@@ -156,6 +156,3 @@ if(APPLE)
endforeach()
set(CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}")
endif()
-
-
-