From d277b4e8984ba3d99a9a5d546a1d57ded4062400 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 17 Apr 2013 19:03:42 +1000 Subject: Use unix style bison build for cygwin. --- linden/indra/lscript/lscript_compile/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linden/indra/lscript/lscript_compile/CMakeLists.txt b/linden/indra/lscript/lscript_compile/CMakeLists.txt index 252085b..f6d5212 100644 --- a/linden/indra/lscript/lscript_compile/CMakeLists.txt +++ b/linden/indra/lscript/lscript_compile/CMakeLists.txt @@ -103,7 +103,7 @@ if (WINDOWS) PROPERTIES COMPILE_FLAGS /DYY_NO_UNISTD_H) endif (WINDOWS) -if (WINDOWS) +if (WINDOWS AND NOT CYGWIN) get_filename_component(M4_PATH ${M4} PATH) add_custom_command( OUTPUT @@ -118,7 +118,7 @@ if (WINDOWS) ${CMAKE_CURRENT_SOURCE_DIR}/indra.y ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/windows) -else (WINDOWS) +else (WINDOWS AND NOT CYGWIN) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/indra.y.cpp @@ -131,7 +131,7 @@ else (WINDOWS) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/indra.y ) -endif (WINDOWS) +endif (WINDOWS AND NOT CYGWIN) if (DARWIN) # Mac OS X 10.4 compatibility -- cgit v1.1