cmake: Move PACKAGE_NAME to ConfigureCVC4, more cleanup.
authorMathias Preiner <mathias.preiner@gmail.com>
Wed, 19 Sep 2018 17:21:54 +0000 (10:21 -0700)
committerMathias Preiner <mathias.preiner@gmail.com>
Sat, 22 Sep 2018 23:30:59 +0000 (16:30 -0700)
CMakeLists.txt
cmake/ConfigureCVC4.cmake

index bbdc863bda8264da6231ca3ef3781187531e0b8c..54bbc6e1241d6666f88a3b9174f0cb10d4aeda61 100644 (file)
@@ -27,22 +27,6 @@ else()
   set(CVC4_RELEASE_STRING "${CVC4_MAJOR}.${CVC4_MINOR}${CVC4_EXTRAVERSION}")
 endif()
 
-# Define to the full name of this package.
-set(PACKAGE_NAME "${PROJECT_NAME}")
-
-#### These defines are only use in autotools make files, will likely be 
-#### replaced with corresponding CPack stuff
-## Define to the full name and version of this package.
-#set(PACKAGE_STRING "${PROJECT_NAME} ${CVC4_RELEASE_STRING}")
-## Define to the one symbol short name of this package.
-#set(PACKAGE_TARNAME "${PROJECT_NAME}")
-## Define to the home page for this package.
-#set(PACKAGE_URL "")
-## Define to the version of this package.
-#set(PACKAGE_VERSION "${CVC4_RELEASE_STRING}")
-## Define to the address where bug reports for this package should be sent.
-#set(PACKAGE_BUGREPORT "cvc4-bugs@cs.stanford.edu")
-
 set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
 set(CMAKE_C_STANDARD 99)
 set(CMAKE_CXX_STANDARD 11)
index f60e9043ee494cd5705dd4c83a8e56c4fcaf8955..cfbd1a1c2b88787301367bfee8c3cb387973f2bc 100644 (file)
@@ -79,3 +79,5 @@ check_c_source_compiles(
 set(CVC4_CLN_IMP ${CVC4_USE_CLN_IMP})
 # Defined if using the GMP multi-precision arithmetic library.
 set(CVC4_GMP_IMP ${CVC4_USE_GMP_IMP})
+# Define the full name of this package.
+set(PACKAGE_NAME "${PROJECT_NAME}")