diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-17 15:11:29 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-17 15:11:29 +1100 |
commit | 8559a46df2ad026571ba7c132d9ce4d2c3392f56 (patch) | |
tree | 57bff14ae96afa1867f87f706bf5ea84f64eb38c /source/CMakeLists.txt | |
parent | 252ce113a580c544fc359af1cb26b95a92d484aa (diff) |
fix RPATH and object material spaces from old worlds getting stuck
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 25490ec..7e54f1c 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -275,7 +275,7 @@ if(STAR_COMPILER_GNU) set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -Ofast") set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -Ofast") - set(BUILD_RPATH_USE_ORIGIN TRUE) + set(CMAKE_BUILD_RPATH_USE_ORIGIN TRUE) elseif(STAR_COMPILER_CLANG) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wuninitialized -Wno-parentheses-equality -Wno-deprecated-declarations") @@ -306,7 +306,7 @@ elseif(STAR_COMPILER_CLANG) set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -Ofast") set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -Ofast") - set(BUILD_RPATH_USE_ORIGIN TRUE) + set(CMAKE_BUILD_RPATH_USE_ORIGIN TRUE) elseif(STAR_COMPILER_MSVC) # /MP - Multi-processor building |