Skip to content

Commit 9636793

Browse files
committed
[CMake] Also set LIBRARY_OUTPUT_DIRECTORY target property.
This is fix to the previous change of using the RUNTIME_OUTPUT_DIRECTORY target property in CMakeLists.txt MSVC does not have to rely on LIBRARY_OUTPUT_DIRECTORY for shared libraries, i.e. add_library() target, but Linux does. This fixes the missing libLLGL_*.so libraries in the output directory on Linux.
1 parent 1e8d916 commit 9636793

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ function(set_llgl_module_properties MODULE_NAME)
227227
DEBUG_POSTFIX "D"
228228
FOLDER "LLGL"
229229
RUNTIME_OUTPUT_DIRECTORY "${LLGL_OUTPUT_DIR}"
230+
LIBRARY_OUTPUT_DIRECTORY "${LLGL_OUTPUT_DIR}"
230231
)
231232
endfunction()
232233

0 commit comments

Comments
 (0)