Commit ace78bbd authored by amitjans's avatar amitjans
Browse files

Solve shared library bug in cmake

parent b03f2834
......@@ -19,7 +19,7 @@ add_compile_options(-Wall -Wextra -Wpedantic)
# option to build STATIC or SHARED library
option(BUILD_SQUARE_SHARED "Build the square library shared." OFF)
if(BUILD_SQUARED_SHARED)
if(BUILD_SQUARE_SHARED)
set(SQUARE_LIBRARY_TYPE SHARED)
else()
set(SQUARE_LIBRARY_TYPE STATIC)
......
Supports Markdown
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