SHARED_LIBRARY_SUFFIX is set by hand to prevent undefined behaviour

This commit is contained in:
Patrix
2022-06-13 17:33:37 +02:00
parent 35017f9527
commit daa7a84cf9
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR x86)
# specify shared library suffix
set(SHARED_LIBRARY_SUFFIX ${CMAKE_SYSTEM_PROCESSOR})
set(SHARED_LIBRARY_SUFFIX "x86")
# specify the compilers
set(CMAKE_C_COMPILER gcc)