Skip to content

Commit

Permalink
Merge pull request #342 from sensics/fix-infinite-loop
Browse files Browse the repository at this point in the history
Fix infinite loop
  • Loading branch information
russell-taylor authored Oct 12, 2017
2 parents dd80169 + 2c380b0 commit fa2e92d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ project(osvrRenderManager)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(-fext-numeric-literals SUPPORTS_EXT_NUMERIC_LITERALS)
if(SUPPORTS_EXT_NUMERIC_LITERALS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fext-numeric-literals")
endif()

#-----------------------------------------------------------------------------
# Local CMake Modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
Expand Down Expand Up @@ -494,7 +500,6 @@ target_link_libraries(osvrRenderManager
osvr::osvrClientKitCpp
PRIVATE
JsonCpp::JsonCpp
osvr::osvrClient
osvr::osvrUtil
osvr::osvrCommon
vendored-vrpn
Expand Down

0 comments on commit fa2e92d

Please sign in to comment.