Skip to content

Commit

Permalink
fix cmake CMAKE_INSTALL_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Oct 9, 2023
1 parent ebb5c99 commit ad4850a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ option(ONLY_LIB "option for only lib" ON)
#-------------------------------------------------------------

IF (UNIX)
set(INSTALL_PREFIX "/usr/local/tars/cpp" CACHE STRING "set install path" FORCE)
set(INSTALL_PREFIX "/usr/local/tars/cpp" CACHE STRING "set install path" )
ELSE()
set(INSTALL_PREFIX "c:/tars/cpp" CACHE STRING "set install path" FORCE)
set(INSTALL_PREFIX "c:/tars/cpp" CACHE STRING "set install path")
ENDIF()

#工程INSTALL目录
Expand Down

0 comments on commit ad4850a

Please sign in to comment.