Skip to content
Snippets Groups Projects
Commit ae5af2ba authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Build shared libraries by default

Now internal libraries are build as shared ones to reduce linking
time.

One can build static libraries using '-DBUILD_SHARED_LIBS=OFF'
parent d57153cf
Branches
Tags
1 merge request!58Feature/cmake update
......@@ -79,6 +79,12 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()
#------------------------------------------------------
# default build shared libraries
if (NOT BUILD_SHARED_LIBS)
set(BUILD_SHARED_LIBS ON CACHE STRING "" FORCE)
endif()
#------------------------------------------------------
# Checks if compiler version is compatible with Pugs sources
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment