diff options
| author | liuxueli <[email protected]> | 2020-03-31 11:30:30 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-03-31 11:30:30 +0800 |
| commit | 9268d66a7cf1935f1467f226cd0384207d3cbbaf (patch) | |
| tree | 145e49ce005d0b6c5c852dd56b64d0075ca1fa84 /CMakeLists.txt | |
| parent | 8ec458e3355d4a9b6cb131372c93a2a3d0a29684 (diff) | |
强制使用g++编译
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f481d1..b9d2127 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,7 @@ project (${lib_name}) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) include(Version) +SET(CMAKE_C_COMPILER "/usr/bin/g++") set(CMAKE_MACOSX_RPATH 0) set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -Wall) |
