diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-11-27 11:59:13 -0800 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-11-27 12:06:30 -0800 |
commit | 0fca9bacaf1e56d7a5ed4b1bb45f805525e4c711 (patch) | |
tree | d1621a84e6bd4ccfb32fc6e573277f8101cd6a73 /src | |
parent | a1041d7a6e1afb0bb4f8b6f27d4d2f6358674119 (diff) |
waffle: Fix build location of libwaffle_static.a
I intended to place libwaffle_static.a into ${CMAKE_BINARY_DIR}/lib,
which is the same directory into which libwaffle.so is placed. However,
I failed at CMake-foo for static libraries. The
LIBRARY_OUTPUT_DIRECTORY property is ignored for static libraries.
Instead, the ARCHIVE_OUTPUT_DIRECTORY property must be used.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/waffle/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waffle/CMakeLists.txt b/src/waffle/CMakeLists.txt index 58832db..fc492aa 100644 --- a/src/waffle/CMakeLists.txt +++ b/src/waffle/CMakeLists.txt @@ -196,5 +196,5 @@ target_link_libraries(waffle_static ${waffle_libdeps}) set_target_properties(waffle_static PROPERTIES - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" ) |