From: James Turner Date: Fri, 14 Feb 2014 20:45:03 +0000 (+0000) Subject: Remove some CMake search paths X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c286e4932d0e6be8abcf1d6b9ad2b2e5becb5d3;p=flightgear.git Remove some CMake search paths As the comments says, none of these should be needed, or they are added by CMake automatically. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b67ac48e..871175400 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,12 +73,6 @@ endif() # Configure library search paths ##################################################################################### -if(APPLE) - # Custom library directories for Mac, which should have precedence over any other - list(APPEND ADDITIONAL_LIBRARY_PATHS - ~/Library/Frameworks - /Library/Frameworks) -endif(APPLE) if(NOT "${CMAKE_LIBRARY_ARCHITECTURE}" STREQUAL "") # Workaround for Ubuntu/Debian which introduced the "multiarch" library @@ -93,13 +87,6 @@ if(NOT "${CMAKE_LIBRARY_ARCHITECTURE}" STREQUAL "") message(STATUS "additional library directories: ${ADDITIONAL_LIBRARY_PATHS}") endif() -if(NOT MSVC) - # TBD: are these really necessary? Aren't they considered by cmake automatically? - list(APPEND ADDITIONAL_LIBRARY_PATHS - /opt/local - /usr/local - /usr) -endif() ##################################################################################### IF(APPLE)