aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-02 14:38:53 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-02 14:38:53 +0200
commit0e779caae658f118d535e9f0a74f0012eefca9a0 (patch)
tree07f36ba35f8935b7a01772424acd396bc8b8f6ad
parent58bd7d93762e7a5eeba17e0cdb527b7f600ddc64 (diff)
downloaddynstr-0e779caae658f118d535e9f0a74f0012eefca9a0.tar.gz
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.
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be96416..6622657 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")