Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
4139f15d
Commit
4139f15d
authored
May 11, 2001
by
Ken Martin
Browse files
minor fixes and new python module
parent
a53f300b
Changes
2
Show whitespace changes
Inline
Side-by-side
Modules/FindJNI.cmake
View file @
4139f15d
...
...
@@ -8,7 +8,7 @@
# JAVA_AWT_INCLUDE_PATH = the path to where jni.h can be found
#
FIND_LIBRARY
(
JAVA_AWT_LIB
_PATH
jawt PATHS /usr/lib /usr/local/lib
)
FIND_LIBRARY
(
JAVA_AWT_LIB
RARY
jawt PATHS /usr/lib /usr/local/lib
)
# add in the include path
FIND_PATH
(
JAVA_INCLUDE_PATH jni.h /usr/include /usr/local/include
)
...
...
Modules/FindPythonLibs.cmake
0 → 100644
View file @
4139f15d
#
# This module finds if Python is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
#
# PYTHON_LIBRARY = the full path to the library found
# PYTHON_INCLUDE_PATH = the path to where tcl.h can be found
# PYTHON_DEBUG_LIBRARY = the full path to the debug library found
#
FIND_LIBRARY
(
PYTHON_DEBUG_LIBRARY python python21_d python20_d
PATHS
/usr/lib
/usr/local/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/libs/Debug
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/libs/Debug
)
FIND_LIBRARY
(
PYTHON_LIBRARY python python21 python20
PATHS
/usr/lib
/usr/local/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/libs
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/libs
)
FIND_PATH
(
PYTHON_INCLUDE_PATH Python.h
/usr/include
/usr/local/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/include
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment