Commit 413627a6 authored by Laurent THOMAS's avatar Laurent THOMAS

small-bug-from-cdb18d38-and-one-gcc-warning

parent c599e172
...@@ -521,7 +521,7 @@ function main() { ...@@ -521,7 +521,7 @@ function main() {
mkdir -p $DIR/nas_sim_tools/build mkdir -p $DIR/nas_sim_tools/build
cd $DIR/nas_sim_tools/build cd $DIR/nas_sim_tools/build
eval $CMAKE_CMD .. ${CMAKE_CMD% *} ..
compilations nas_sim_tools usim.txt usim compilations nas_sim_tools usim.txt usim
compilations nas_sim_tools nvram.txt nvram compilations nas_sim_tools nvram.txt nvram
compilations nas_sim_tools conf2uedata.txt conf2uedata compilations nas_sim_tools conf2uedata.txt conf2uedata
......
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 3.5)
project(NAS_SIM_TOOLS) project(NAS_SIM_TOOLS)
...@@ -6,6 +6,7 @@ include(FindPkgConfig) ...@@ -6,6 +6,7 @@ include(FindPkgConfig)
pkg_search_module(CONFIG libconfig REQUIRED) pkg_search_module(CONFIG libconfig REQUIRED)
include_directories(${CONFIG_INCLUDE_DIRS}) include_directories(${CONFIG_INCLUDE_DIRS})
add_definitions(-std=gnu99) add_definitions(-std=gnu99)
include("../macros.cmake")
ENABLE_LANGUAGE(C) ENABLE_LANGUAGE(C)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment