Author: spetreolle
Date: Sat Oct 9 14:53:52 2010
New Revision: 49074
URL:
http://svn.reactos.org/svn/reactos?rev=49074&view=rev
Log:
[CMAKE]
Fix winebuild link on unix.
Modified:
branches/cmake-bringup/tools/winebuild/CMakeLists.txt
Modified: branches/cmake-bringup/tools/winebuild/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/tools/winebuild/C…
==============================================================================
--- branches/cmake-bringup/tools/winebuild/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/tools/winebuild/CMakeLists.txt [iso-8859-1] Sat Oct 9 14:53:52
2010
@@ -1,7 +1,3 @@
-
-add_definitions(-DEXEEXT=".exe")
-add_definitions(-Dpclose=_pclose)
-add_definitions(-Dpopen=_popen)
list(APPEND SOURCE
import.c
@@ -16,6 +12,11 @@
utils.c
)
+add_definitions(-DEXEEXT=".exe")
+if(NOT UNIX)
+add_definitions(-Dpclose=_pclose)
+add_definitions(-Dpopen=_popen)
+endif()
if(MSVC)
list(APPEND SOURCE getopt.c)
include_directories(include)