Skip to content

Commit 77d1dae

Browse files
committed
[CMake] Also set ARCHIVE_OUTPUT_DIRECTORY to LLGL_OUTPUT_DIR.
This is a follow-up fix to have the output .lib/.a files alongside the output .dll/.exe/.so files.
1 parent 3df9f9c commit 77d1dae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,9 @@ function(set_llgl_module_properties MODULE_NAME)
226226
LINKER_LANGUAGE CXX
227227
DEBUG_POSTFIX "D"
228228
FOLDER "LLGL"
229-
RUNTIME_OUTPUT_DIRECTORY "${LLGL_OUTPUT_DIR}"
229+
ARCHIVE_OUTPUT_DIRECTORY "${LLGL_OUTPUT_DIR}"
230230
LIBRARY_OUTPUT_DIRECTORY "${LLGL_OUTPUT_DIR}"
231+
RUNTIME_OUTPUT_DIRECTORY "${LLGL_OUTPUT_DIR}"
231232
)
232233
endfunction()
233234

0 commit comments

Comments
 (0)