SHARED_LIBRARY_SUFFIX is set by hand to prevent undefined behaviour
This commit is contained in:
@@ -6,7 +6,7 @@ set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
|
||||
# specify shared library suffix
|
||||
set(SHARED_LIBRARY_SUFFIX ${CMAKE_SYSTEM_PROCESSOR})
|
||||
set(SHARED_LIBRARY_SUFFIX "arm")
|
||||
|
||||
if (${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm.*")
|
||||
# specify native compiler
|
||||
|
||||
Reference in New Issue
Block a user