More cmake TODOs.

This commit is contained in:
Pietro Gagliardi 2017-06-06 15:32:51 -04:00
parent b3e3b27f71
commit ddf91df764
2 changed files with 2 additions and 0 deletions

View File

@ -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}")

View File

@ -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}")