summaryrefslogtreecommitdiff
path: root/cmake/modules/FindLEX.cmake
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-09-06 22:28:19 +0000
committerJörg Mayer <jmayer@loplof.de>2006-09-06 22:28:19 +0000
commitd6417e08422edab8aca35879e0fed4af48b09824 (patch)
treea9be8b336a59ee03c35e593c135384e82745c77b /cmake/modules/FindLEX.cmake
parentf1956abf019fee7395e0006feddc6d46a2aa2375 (diff)
downloadwireshark-d6417e08422edab8aca35879e0fed4af48b09824.tar.gz
cmake/
Add some more (hackish) tests. Add a LICENSE file until I find the time to add it to all files individually. CMakeLists.txt Add some addiotional stuff regarding options. Add (non-working) code to generate config.h Handle GTK1 vs GTK2 and GLIB1 vs GLIB2 svn path=/trunk/; revision=19168
Diffstat (limited to 'cmake/modules/FindLEX.cmake')
-rw-r--r--cmake/modules/FindLEX.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake
new file mode 100644
index 0000000000..31033f23ca
--- /dev/null
+++ b/cmake/modules/FindLEX.cmake
@@ -0,0 +1,20 @@
+# - Find unix commands from cygwin
+# This module looks for some usual Unix commands.
+#
+
+INCLUDE(FindCygwin)
+
+FIND_PROGRAM(LEX
+ NAMES
+ lex
+ flex
+ PATH
+ ${CYGWIN_INSTALL_PATH}/bin
+ /bin
+ /usr/bin
+ /usr/local/bin
+ /sbin
+)
+MARK_AS_ADVANCED(
+ LEX
+)