Commit 47d95b4f authored by GILLES Sebastien's avatar GILLES Sebastien

#1220 CMake: fix a case bug that prevented the unique library to be configured correctly.

parent 5a3cee95
......@@ -54,7 +54,7 @@ endfunction()
# ##########################################################################################
function(morefem_library_module _alias _module)
if (BUILD_MOREFEM_UNIQUE_LIBRARY)
set(${_alias} morefem PARENT_SCOPE)
set(${_alias} MoReFEM PARENT_SCOPE)
else()
add_library(${_module} ${LIBRARY_TYPE} "")
set(${_alias} ${_module} PARENT_SCOPE)
......@@ -107,7 +107,7 @@ endfunction()
# ##########################################################################################
function(morefem_library_module _alias _module)
if (BUILD_MOREFEM_UNIQUE_LIBRARY)
set(${_alias} morefem PARENT_SCOPE)
set(${_alias} MoReFEM PARENT_SCOPE)
else()
add_library(${_module} ${LIBRARY_TYPE} "")
set(${_alias} ${_module} PARENT_SCOPE)
......
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