cmake: Clean up macOS install target
authorMike Schuchardt <mikes@lunarg.com>
Mon, 9 Jul 2018 15:18:19 +0000 (09:18 -0600)
committerMike Schuchardt <mikes@lunarg.com>
Tue, 10 Jul 2018 16:27:58 +0000 (10:27 -0600)
Stop hardcoding CMAKE_INSTALL_PREFIX to CMAKE_BINARY_DIR

CMakeLists.txt

index 64f4989457c3ea967d4fd2bf10935eb523c7a5dd..4fbb795e6d991a3aa25d6baed46b26a9e0f528e0 100644 (file)
@@ -50,8 +50,6 @@ endif()
 if(APPLE)
     # CMake versions 3 or later need CMAKE_MACOSX_RPATH defined. This avoids the CMP0042 policy message.
     set(CMAKE_MACOSX_RPATH 1)
-    # The "install" target for MacOS fixes up bundles in place.
-    set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR})
 endif()
 
 # Enable IDE GUI folders