CMake: report what kind of libraries will be built

This commit is contained in:
Ahmad Fatoum 2018-10-07 19:35:31 +02:00
parent 2981713e4f
commit c4b7d17516
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B
1 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,7 @@ include(LibraryPathToLinkerFlags)
library_path_to_linker_flags(__PKG_CONFIG_LIBS_PRIVATE "${LIBS_PRIVATE}")
if(STATIC)
MESSAGE(STATUS "Building raylib static library")
if(${PLATFORM} MATCHES "Web")
set(CMAKE_STATIC_LIBRARY_SUFFIX ".bc")
endif()
@ -186,6 +187,7 @@ endif(STATIC)
if(SHARED)
MESSAGE(STATUS "Building raylib shared library")
add_library(raylib SHARED ${sources})
target_compile_definitions(raylib