Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
Adding ProtocolVersion.h to /include folder of install directory
Browse files Browse the repository at this point in the history
* Needed for client code to test service version compatibility
* Removing deprecated ClientVersion.h
  • Loading branch information
HipsterSloth committed Mar 29, 2017
1 parent 24e03b8 commit d4847a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/psmoveclient/ClientVersion.h

This file was deleted.

9 changes: 9 additions & 0 deletions src/psmoveprotocol/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ target_include_directories(PSMoveProtocol PUBLIC ${PSMOVEPROTOCOL_INCLUDE_DIRS}
target_link_libraries(PSMoveProtocol PRIVATE ${PSMOVEPROTOCOL_REQUIRED_LIBS})
set_target_properties(PSMoveProtocol PROPERTIES
COMPILE_FLAGS "-DBUILDING_STATIC_LIBRARY -fPIC")

# Install
IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
install(FILES ProtocolVersion.h
DESTINATION ${ROOT_DIR}/${PSM_PROJECT_NAME}/${ARCH_LABEL}/include)
ELSE() #Linux/Darwin
install(FILES ProtocolVersion.h
DESTINATION include)
ENDIF()

0 comments on commit d4847a0

Please sign in to comment.