diff options
| author | 刘学利 <[email protected]> | 2022-03-04 04:35:10 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2022-03-04 04:35:10 +0000 |
| commit | 529fca700a43c3fd4630e7ab16e1fc1942601bb5 (patch) | |
| tree | 47dbfe9ed3fab2ea894206c938942a5477a6ddb3 /CMakeLists.txt | |
| parent | 20270fad396935fd72ea2569cc0650c0ab09ffb8 (diff) | |
TSG-9724: 适配Rocky Linux8.5
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5632ba5..8c564f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,11 @@ include_directories(/opt/MESA/include/MESA/) file(GLOB SRC "src/*.cpp" ) -set(CMAKE_INSTALL_PREFIX /home/mesasoft/sapp_run) + +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(CMAKE_INSTALL_PREFIX "/home/mesasoft/sapp_run" CACHE PATH "default install path" FORCE) +endif() + set(DNS_DEPEND_DYN_LIB MESA_handle_logger MESA_field_stat2 MESA_prof_load) # Shared Library Output |
