diff options
author | drenfong.wang <drenfong.wang@intel.com> | 2019-02-12 06:56:11 +0000 |
---|---|---|
committer | Junfeng Wang <drenfong.wang@intel.com> | 2019-02-12 07:12:10 +0000 |
commit | 4f19617f0712ff80787944030e3a2523bc742299 (patch) | |
tree | c2df97f33d239eadf215589e0f0367b44ae58c05 /src/plugins | |
parent | aaf5c64d4ac13023925924cc356409107bb641b3 (diff) |
fix gcc compile args
Change-Id: Ib6c6042619e7afcb561300762e49dbbfd2ff57cf
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index ae8e33b..08003f7 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -11,18 +11,18 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# -# set compiler options + +cmake_minimum_required(VERSION 2.8) +project(sysrepo-vpp-plugins) + +# set compiler option set(CMAKE_EXPORT_COMPILE_COMMANDS 1) set(CMAKE_C_FLAGS "-Wall -std=gnu99") set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -O2") set(CMAKE_C_FLAGS_DEBUG "-g -O0") set (CMAKE_INSTALL_LIBDIR "/usr/lib") -cmake_minimum_required(VERSION 2.8) -project(sysrepo-vpp-plugins) - # Cmake find modules list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../cmake") |