Commit 93b3a531 authored by lperesde's avatar lperesde Committed by luizperes
Browse files

Fixing small bug on generation of dynamic libs and setting them as default

parent 4d670603
......@@ -28,7 +28,7 @@ option(GENERATE_TOOLS "Controls whether or not it generate tools" ON)
# Build Artifact Configuration
set(ARTIFACT_MODE "Multiple" CACHE STRING "Build framework into a single artifact (Single) or multiple artifacts (Multiple)")
set(ARTIFACT_TYPE "Static" CACHE STRING "Build frameword as shared (Shared) or static (Static) libraries")
set(ARTIFACT_TYPE "Shared" CACHE STRING "Build frameword as shared (Shared) or static (Static) libraries")
# Validate framework build style
set(VALID_BUILD_MODE "Single" "Multiple")
......
......@@ -22,7 +22,7 @@ SRC
toolchain.cpp
)
if(ARTIFACT_TYPE STREQUAL "Shared" AND ARTIFACT_MODE EQUAL "Multiple")
if(ARTIFACT_TYPE STREQUAL "Shared" AND ARTIFACT_MODE STREQUAL "Multiple")
if(APPLE)
# The Darwin linker on macOS does not support the --whole-archive flag.
# Instead it has -all_load which does something similar. On macOS we need
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment