aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2022-10-26 10:13:56 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2022-10-26 12:01:46 -0600
commitfe6cf9b97503dc378b4f58b514bb16550339dd18 (patch)
treef6091fb54863da18574d56d6f8b4de104a4fd2c0
parent9bb5a7ccd009446972c88f4af153c59e0f2eac83 (diff)
downloadusermoji-fe6cf9b97503dc378b4f58b514bb16550339dd18.tar.xz
cmake: Remove outdate code
Setting CMAKE_MACOS_RPATH is not needed given our cmake minimum
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 45d9d45b..1309d0d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,11 +119,6 @@ if(NOT TARGET uninstall)
set_target_properties(uninstall PROPERTIES FOLDER ${TOOLS_HELPER_FOLDER})
endif()
-if(APPLE)
- # CMake versions 3 or later need CMAKE_MACOSX_RPATH defined. This avoids the CMP0042 policy message.
- set(CMAKE_MACOSX_RPATH 1)
-endif()
-
option(BUILD_WERROR "Treat compiler warnings as errors" ON)
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
set(COMMON_COMPILE_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers")