[Groonga-commit] groonga/groonga at da3a88a [master] Use <...> style include

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 9 14:36:40 JST 2013


Kouhei Sutou	2013-05-09 14:36:40 +0900 (Thu, 09 May 2013)

  New Revision: da3a88ab8ec3216eb64e690cd09840a5159177c5
  https://github.com/groonga/groonga/commit/da3a88ab8ec3216eb64e690cd09840a5159177c5

  Message:
    Use <...> style include
    
    Because it is not relative path from the header file. We should set
    correct include path and <...> include instead of "..." include.

  Modified files:
    CMakeLists.txt
    lib/groonga_in.h

  Modified: CMakeLists.txt (+2 -1)
===================================================================
--- CMakeLists.txt    2013-05-09 12:46:18 +0900 (ef822fa)
+++ CMakeLists.txt    2013-05-09 14:36:40 +0900 (1fdfc81)
@@ -85,7 +85,8 @@ add_definitions(
   )
 
 include_directories(
-  ${CMAKE_BINARY_DIR}
+  BEFORE
+  ${CMAKE_CURRENT_BINARY_DIR}
   ${CMAKE_CURRENT_SOURCE_DIR}
   ${CMAKE_CURRENT_SOURCE_DIR}/include
   )

  Modified: lib/groonga_in.h (+1 -1)
===================================================================
--- lib/groonga_in.h    2013-05-09 12:46:18 +0900 (02ee389)
+++ lib/groonga_in.h    2013-05-09 14:36:40 +0900 (eda9dd8)
@@ -20,7 +20,7 @@
 #define GROONGA_IN_H
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif /* HAVE_CONFIG_H */
 
 #ifdef __cplusplus
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index