diff --git a/darwin/CMakeLists.txt b/darwin/CMakeLists.txt index 0591643b..ef1d30b1 100644 --- a/darwin/CMakeLists.txt +++ b/darwin/CMakeLists.txt @@ -59,6 +59,7 @@ if(NOT BUILD_SHARED_LIBS) set(_LIBUINAME libui-temporary PARENT_SCOPE) endif() # thanks to Mr-Hide in irc.freenode.net/#cmake +# TODO remove all these temporary files after linking the final archive file macro(_handle_static) set_target_properties(${_LIBUINAME} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}") diff --git a/unix/CMakeLists.txt b/unix/CMakeLists.txt index f21256c3..c20cf266 100644 --- a/unix/CMakeLists.txt +++ b/unix/CMakeLists.txt @@ -57,6 +57,7 @@ set(_LIBUINAME libui PARENT_SCOPE) if(NOT BUILD_SHARED_LIBS) set(_LIBUINAME libui-temporary PARENT_SCOPE) endif() +# TODO remove all these temporary files after linking the final archive file macro(_handle_static) set_target_properties(${_LIBUINAME} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")