Skip to content

Commit

Permalink
add back to the default intall setting
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyupeng committed Oct 31, 2024
1 parent 07c93b8 commit 7be0e36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set_target_properties(run_AmpliCI PROPERTIES INSTALL_RPATH "@executable_path/../lib")
set_target_properties(amplici PROPERTIES INSTALL_RPATH "@loader_path")

if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX $ENV{PREFIX})
endif()
# require PREFIX input
#if(NOT DEFINED CMAKE_INSTALL_PREFIX)
# set(CMAKE_INSTALL_PREFIX $ENV{PREFIX})
#endif()

0 comments on commit 7be0e36

Please sign in to comment.