FindTCL
This commit is contained in:
parent
7e12a99f9b
commit
48b226bd8b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue