Browse Source

Fix a bug in last commit

master
Gavin Howard 4 years ago
parent
commit
3b80369903
Signed by: gavin GPG Key ID: C08038BDF280D33E
  1. 2
      functions.cmake

2
functions.cmake

@ -42,6 +42,8 @@ function (create_library name src doinstall)
target_link_libraries("${name}" "${ARGN}")
if (doinstall)
install(TARGETS "${name}" ARCHIVE DESTINATION lib/)
endif(doinstall)
if (NOT WIN32)
add_library("${name}" SHARED "${src}")

Loading…
Cancel
Save