CMakeLists.txt: add cmake_minimum_required
This command is mandatory for all CMake projects. 3.0 was chosen since dynstr does not require any newer CMake features.
This commit is contained in:
parent
58bd7d9376
commit
0e779caae6
|
@ -11,6 +11,7 @@
|
|||
# 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.
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(dynstr C)
|
||||
add_library(${PROJECT_NAME} STATIC "dynstr.c")
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC "include")
|
||||
|
|
Loading…
Reference in New Issue