Navigation Menu

Skip to content

Commit

Permalink
cmake: use C flags got by mysql-config
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2012
1 parent 60e5df7 commit 215bbcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -83,7 +83,8 @@ add_library(ha_mroonga MODULE
${LIBMRN_NO_MYSQL_SOURCES}
${LIBMRN_NEED_MYSQL_SOURCES})
set_source_files_properties(${MROONGA_SOURCES} PROPERTIES
COMPILE_FLAGS "-Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors")
COMPILE_FLAGS
"${MYSQL_CFLAGS} -Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors")
set_target_properties(ha_mroonga PROPERTIES
COMPILE_DEFINITIONS "MYSQL_DYNAMIC_PLUGIN"
PREFIX ""
Expand Down

0 comments on commit 215bbcb

Please sign in to comment.