summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-30 13:17:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-08-30 13:17:47 (GMT)
commit17a60e398c8287aaa47d2e424189e8ba4a039aeb (patch)
treed942dc70a52af450485b9b5b9eaf7a62056f4e39 /Modules
parent8f37b90b58f2874e54958f6e96d5f0de3d92a5ec (diff)
parent2bd71f6377b493c6feb369f56604e1a16173ad49 (diff)
downloadCMake-17a60e398c8287aaa47d2e424189e8ba4a039aeb.zip
CMake-17a60e398c8287aaa47d2e424189e8ba4a039aeb.tar.gz
CMake-17a60e398c8287aaa47d2e424189e8ba4a039aeb.tar.bz2
Merge topic 'remove-lua-extra-paths'
2bd71f6377 FindLua: Remove manually specified additional paths Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !2321
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLua.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake
index b57a46e..e86c15c 100644
--- a/Modules/FindLua.cmake
+++ b/Modules/FindLua.cmake
@@ -42,13 +42,6 @@ cmake_policy(SET CMP0012 NEW) # For while(TRUE)
unset(_lua_include_subdirs)
unset(_lua_library_names)
unset(_lua_append_versions)
-set(_lua_additional_paths
- ~/Library/Frameworks
- /Library/Frameworks
- /sw # Fink
- /opt/local # DarwinPorts
- /opt/csw # Blastwave
- /opt)
# this is a function only to have all the variables inside go away automatically
function(_lua_get_versions)
@@ -161,7 +154,6 @@ function(_lua_find_header)
HINTS
ENV LUA_DIR
PATH_SUFFIXES ${subdir}
- PATHS ${_lua_additional_paths}
)
if (LUA_INCLUDE_DIR)
break()
@@ -209,7 +201,6 @@ find_library(LUA_LIBRARY
HINTS
ENV LUA_DIR
PATH_SUFFIXES lib
- PATHS ${_lua_additional_paths}
)
unset(_lua_library_names)