summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-11-09 09:43:57 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-11-09 12:55:26 +0300
commit7a8de3bd9c6c61c68a866b849e7b1d17d76d2d36 (patch)
tree59c1122a37e24b583d96fd47c873f6e3c1178d51
parentb3ceb611a65dc25be03a536e80e2525b7108ef06 (diff)
downloadlibatomic_ops-7a8de3bd9c6c61c68a866b849e7b1d17d76d2d36.tar.gz
Rename project to libatomic_ops in CMake script
(fix of commit 3bce6bcc1) Match CMake project name to that in AC_INIT of configure.ac. * CMakeLists.txt (project): Rename from atomic_ops to libatomic_ops. * Config.cmake.in (check_required_components): Likewise.
-rw-r--r--CMakeLists.txt2
-rw-r--r--Config.cmake.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e19bc7..ed01142 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,7 +31,7 @@ set(PACKAGE_VERSION 7.7.0)
set(LIBATOMIC_OPS_VER_INFO 2:1:1)
set(LIBATOMIC_OPS_GPL_VER_INFO 2:2:1)
-project(atomic_ops C)
+project(libatomic_ops C)
include(CheckCCompilerFlag)
include(CheckFunctionExists)
diff --git a/Config.cmake.in b/Config.cmake.in
index 47e60a0..034b456 100644
--- a/Config.cmake.in
+++ b/Config.cmake.in
@@ -2,4 +2,4 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/Atomic_opsTargets.cmake")
-check_required_components(atomic_ops)
+check_required_components(libatomic_ops)