Skip to content

Commit

Permalink
build: Enable XR_USE_TIMESPEC for SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik authored and daveh-lunarg committed Mar 27, 2019
1 parent 6e8c280 commit 9f493b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ CHECK_FUNCTION_EXISTS(secure_getenv HAVE_SECURE_GETENV)
CHECK_FUNCTION_EXISTS(__secure_getenv HAVE___SECURE_GETENV)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/common_cmake_config.h.in ${CMAKE_CURRENT_BINARY_DIR}/common_cmake_config.h)

add_definitions(-DXR_USE_TIMESPEC)

# Set up the OpenXR version variables, used by several targets in this project.
set(MAJOR "0")
set(MINOR "0")
Expand Down

0 comments on commit 9f493b3

Please sign in to comment.