diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2018-08-28 17:25:46 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2018-08-28 17:27:35 (GMT) |
commit | 2bd71f6377b493c6feb369f56604e1a16173ad49 (patch) | |
tree | 7c4821b075f9e8c0c8e1b5445db3ccb0fab10b55 /Modules | |
parent | 826e75814bf12434b989e19b18cd458abe5d0120 (diff) | |
download | CMake-2bd71f6377b493c6feb369f56604e1a16173ad49.zip CMake-2bd71f6377b493c6feb369f56604e1a16173ad49.tar.gz CMake-2bd71f6377b493c6feb369f56604e1a16173ad49.tar.bz2 |
FindLua: Remove manually specified additional paths
The additional paths specified are already accounted for in the appropriate
Platform files.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindLua.cmake | 9 |
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) |