Add a comment about building for static linking

This commit is contained in:
Chris Robinson
2020-10-25 00:08:54 -07:00
parent 88b9eb1560
commit 0311f6431c
+2
View File
@@ -135,6 +135,8 @@ if("${CMAKE_C_PLATFORM_ID}" STREQUAL "QNX")
set(LINKER_FLAGS ${LINKER_FLAGS} -L/usr/lib)
endif()
# When the library is built for static linking, apps should define
# AL_LIBTYPE_STATIC when including the AL headers.
if(NOT LIBTYPE)
set(LIBTYPE SHARED)
endif()