This commit is contained in:
James Cherry 2020-04-20 10:07:32 -07:00
parent 7e12a99f9b
commit 48b226bd8b
1 changed files with 3 additions and 5 deletions

View File

@ -35,12 +35,10 @@ if (NOT TCL_LIB_PATHS)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(TCL_LIB_PATHS /usr/local/lib)
set(TCL_NO_DEFAULT_PATH TRUE)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(TCL_LIB_PATHS /usr/lib /usr/local/lib)
set(TCL_NO_DEFAULT_PATH FALSE)
endif()
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(TCL_LIB_PATHS /usr/lib
/usr/local/lib
)
set(TCL_NO_DEFAULT_PATH FALSE)
endif()
if (NOT TCL_LIBRARY)