Skip to content
Snippets Groups Projects
Commit b4e1bf5c authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos Committed by Christoph Grüninger
Browse files

Install libraries in root build path instead on project build path

parent 76cc3192
No related branches found
No related tags found
1 merge request!1467Install libraries in root build path instead on project build path
Pipeline #76365 passed
Pipeline: Dune Nightly Test

#76368

    ......@@ -187,10 +187,10 @@ function(dune_add_library_normal _name)
    # Set target options from COMPILE_FLAGS
    target_compile_options(${_name} PUBLIC "${ARG_COMPILE_OPTIONS}")
    # Build library in ${PROJECT_BINARY_DIR}/lib
    # Build library in ${CMAKE_BINARY_DIR}/lib
    set_target_properties(${_name} PROPERTIES
    LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib"
    ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
    LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
    ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
    # Set an output name for the created library file
    if(ARG_OUTPUT_NAME)
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment