Skip to content

Commit

Permalink
Fix cmake warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophHaag committed Oct 22, 2019
1 parent 1f7cc83 commit 27edf4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ if (WIN32)
endif()
elseif(APPLE)
if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/osx64 CACHE TYPE INTERNAL)
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/osx64 CACHE STRING INTERNAL)
else()
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/osx32 CACHE TYPE INTERNAL)
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/osx32 CACHE STRING INTERNAL)
endif()
elseif(NOT ANDROID)
if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/linux64 CACHE TYPE INTERNAL)
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/linux64 CACHE STRING INTERNAL)
else()
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/linux32 CACHE TYPE INTERNAL)
set(PLUGINDIR ${CMAKE_BINARY_DIR}/bin/linux32 CACHE STRING INTERNAL)
endif()
endif()
MESSAGE("SteamVR plugin path: ${PLUGINDIR}")
Expand Down

0 comments on commit 27edf4c

Please sign in to comment.