summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2018-10-07 19:35:31 +0200
committerAhmad Fatoum <[email protected]>2018-10-07 21:34:19 +0200
commitc4b7d175163f0365110b37834c58be3cf2bd1ccf (patch)
tree9c3e0e2ade3c67f07e8ab2ec09ffb7644cd2dff2 /src/CMakeLists.txt
parent2981713e4f368e1ddaca4340b0e3bafa3b41b604 (diff)
downloadraylib-c4b7d175163f0365110b37834c58be3cf2bd1ccf.tar.gz
raylib-c4b7d175163f0365110b37834c58be3cf2bd1ccf.zip
CMake: report what kind of libraries will be built
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a8d8635f..9b745cfe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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