Skip to content

Commit

Permalink
Merge pull request #7 from lirizhong97/mq30_dev
Browse files Browse the repository at this point in the history
adjust cmake system variable from LINUX to UNIX
  • Loading branch information
ruanshudong committed Feb 1, 2021
2 parents fc2b5d5 + fcb47de commit 6ee6d98
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions servant/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,10 @@ install(DIRECTORY . DESTINATION include/servant
PATTERN "*.tars"
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_READ WORLD_EXECUTE)

INSTALL(FILES ${TARSPROTOCOLS} DESTINATION c:\\tarsproto\\protocol\\)

if(WIN32)
INSTALL(FILES ${TARSPROTOCOLS} DESTINATION c:\\tarsproto\\protocol\\)
elseif(APPLE)
INSTALL(FILES ${TARSPROTOCOLS} DESTINATION $ENV{HOME}/tarsproto/protocol/)
elseif(LINUX)
elseif(UNIX)
INSTALL(FILES ${TARSPROTOCOLS} DESTINATION /home/tarsproto/protocol/)
endif()

0 comments on commit 6ee6d98

Please sign in to comment.