diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ set(datadir ${CMAKE_INSTALL_PREFIX}/shar set(localedir ${CMAKE_INSTALL_PREFIX}/share/locale) set(includedir ${CMAKE_INSTALL_PREFIX}/include/googlepinyin) set(CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}") -set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAG}") +set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}") add_subdirectory(src) add_subdirectory(tools)