cvs: gd(GD_2_0) /libgd CMakeLists.txt

[email protected] ("Pierre-Alain Joye")
Newsgroups php.gd.cvs
Message-ID <cvspajoye1179228681@cvsserver>
pajoye		Tue May 15 11:31:21 2007 UTC

  Modified files:              (Branch: GD_2_0)
    /gd/libgd	CMakeLists.txt 
  Log:
  - fix tests build when used with an external library
  
  
http://cvs.php.net/viewvc.cgi/gd/libgd/CMakeLists.txt?r1=1.1.2.5&r2=1.1.2.6&diff_format=u
Index: gd/libgd/CMakeLists.txt
diff -u gd/libgd/CMakeLists.txt:1.1.2.5 gd/libgd/CMakeLists.txt:1.1.2.6
--- gd/libgd/CMakeLists.txt:1.1.2.5	Sun May  6 20:13:38 2007
+++ gd/libgd/CMakeLists.txt	Tue May 15 11:31:21 2007
@@ -9,7 +9,7 @@
 
 if (USE_EXT_GD)
 	message("Using GD at: ${USE_EXT_GD}")
-	INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR})
+	INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR} ${GD_BINARY_DIR})
 	FIND_PACKAGE(GD)
 	if (GD_FOUND)
 		INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.