Skip to content

Commit 8d00ab5

Browse files
giladreichSiegeLord
authored andcommitted
Remove ALLEGRO_DLL_SHORTVER unused variable.
The versioning in the cmake script could really be avoided without all the magic regex. Applying VERSION when defining project(), cmake will automatically apply version sematics and define variables such as PROJECT_VERSION_(MAJOR|MINOR|PATCH|TWEAK). Will be done next commit.
1 parent 3eefb86 commit 8d00ab5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ option(WANT_STATIC_RUNTIME "Whether or not to link the C and C++ runtimes static
5353

5454
set(ALLEGRO_VERSION 5.2.9)
5555
string(REGEX MATCH "^[0-9]+[.][0-9]+" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
56-
string(REPLACE "." "" ALLEGRO_DLL_SHORTVER ${ALLEGRO_SOVERSION})
5756

5857
# Search in the `cmake' directory for additional CMake modules.
5958
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

0 commit comments

Comments
 (0)