fix api address & adjust linux build
This commit is contained in:
parent
96b608d0c1
commit
9ac5b280d0
@ -9,7 +9,7 @@ RUN echo 'deb [signed-by=/usr/share/keyrings/dart.gpg arch=amd64] https://storag
|
||||
RUN apt-get update && apt-get install -y dart
|
||||
ENV PATH="$PATH:/usr/lib/dart/bin"
|
||||
|
||||
RUN cd /root && git clone https://https://git.marinodev.com/MarinoDev/FBLA24.git
|
||||
RUN cd /root && git clone https://git.marinodev.com/MarinoDev/FBLA24.git
|
||||
WORKDIR /root/FBLA24/fbla-api
|
||||
RUN dart pub install
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ endif()
|
||||
# of modifying this function.
|
||||
function(APPLY_STANDARD_SETTINGS TARGET)
|
||||
target_compile_features(${TARGET} PUBLIC cxx_std_14)
|
||||
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
|
||||
target_compile_options(${TARGET} PRIVATE -Wall) # removed -Werror to avoid error from libraries on unused vars
|
||||
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
|
||||
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
|
||||
endfunction()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user