Added no-narrowing on linux builds

This commit is contained in:
KiritoDv
2023-11-15 20:58:54 -06:00
parent eaddecd0b4
commit eb2049983b
+1 -1
View File
@@ -24,7 +24,6 @@ if(NOT libgfxd_POPULATED)
endforeach()
endif()
# Source files
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib)
@@ -49,6 +48,7 @@ endif()
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS "-Wno-narrowing")
endif()
# Fetch Dependencies