summaryrefslogtreecommitdiff
path: root/cmake/modules/FindYACC.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/FindYACC.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/FindYACC.cmake')
-rw-r--r--cmake/modules/FindYACC.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/cmake/modules/FindYACC.cmake b/cmake/modules/FindYACC.cmake
new file mode 100644
index 0000000000..31499224fc
--- /dev/null
+++ b/cmake/modules/FindYACC.cmake
@@ -0,0 +1,20 @@
+# - Find unix commands from cygwin
+# This module looks for some usual Unix commands.
+#
+
+INCLUDE(FindCygwin)
+
+FIND_PROGRAM(YACC
+ NAMES
+ yacc
+ bison
+ PATH
+ ${CYGWIN_INSTALL_PATH}/bin
+ /bin
+ /usr/bin
+ /usr/local/bin
+ /sbin
+)
+MARK_AS_ADVANCED(
+ YACC
+)