fix
This commit is contained in:
parent
caf262f1a2
commit
f633191272
1 changed files with 3 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ macro(mde_setup_base type name dir)
|
||||||
elseif(${type} STREQUAL "library")
|
elseif(${type} STREQUAL "library")
|
||||||
add_library(
|
add_library(
|
||||||
${name}
|
${name}
|
||||||
|
SHARED
|
||||||
${${name}_SRC}
|
${${name}_SRC}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -48,8 +49,8 @@ macro(mde_setup_project name dir)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(mde_setup_library name)
|
macro(mde_setup_library name)
|
||||||
if(ARGV2)
|
if(NOT ${ARGV1} STREQUAL "")
|
||||||
mde_setup_base(library ${name} ARGV2)
|
mde_setup_base(library ${name} ${ARGV1})
|
||||||
else()
|
else()
|
||||||
mde_setup_base(library ${name} ${CMAKE_INSTALL_LIBDIR})
|
mde_setup_base(library ${name} ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue